11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
18 rev = "beta-${version}";
19 hash = "sha256-nu/vedQNs5TgCG1v5qwwDTnFTyXCS2KnLVrnEhCtzCs=";
23 lockFile = ./Cargo.lock;
25 "rusty_ytdl-0.6.6" = "sha256-htXD8v9Yd7S0iLjP6iZu94tP5KO5vbmkdUybqA7OtlU=";
26 "symphonia-0.5.1" = "sha256-rGvde5w7czMLcOPARK1gFfDLn70VeIrn4nKOL6FPc2U=";
29 postPatch = "cp ${./Cargo.lock} Cargo.lock";
33 cargoBuildType = "release";
46 description = "TUI based Youtube Music Player that aims to be as fast and simple as possible";
47 homepage = "https://github.com/ccgauche/ytermusic";
48 changelog = "https://github.com/ccgauche/ytermusic/releases/tag/${src.rev}";
49 license = lib.licenses.asl20;
50 maintainers = with lib.maintainers; [ codebam ];
51 mainProgram = "ytermusic";