mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-07-26 01:47:14 +02:00
28 lines
643 B
Nix
28 lines
643 B
Nix
{
|
|
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";
|
|
};
|
|
})
|