mpv-websocket: init at 0.4.1

This commit is contained in:
Donovan Glover 2025-05-21 18:11:03 -04:00
parent 98fcf1576e
commit 2388cdd131
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -0,0 +1,27 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mpv-websocket";
version = "0.4.1";
src = fetchFromGitHub {
owner = "kuroahna";
repo = "mpv_websocket";
tag = finalAttrs.version;
hash = "sha256-a2/TMTl9QIU7oKqm9yv/SFLwpKArMdGjJZjaTyUwXfM=";
};
cargoHash = "sha256-avBHcFJW5SvAZDISKUcEwL6Wxa4hiKQPljEx5eHswDE=";
meta = {
description = "WebSocket plugin for mpv";
homepage = "https://github.com/kuroahna/mpv_websocket";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ donovanglover ];
mainProgram = "mpv_websocket";
};
})