mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 08:07:14 +02:00
mpv-websocket: init at 0.4.1
This commit is contained in:
parent
98fcf1576e
commit
2388cdd131
27
packages/mpv-websocket.nix
Normal file
27
packages/mpv-websocket.nix
Normal 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";
|
||||
};
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user