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.4" = "sha256-uf0BbpqtlpZhsnV7Cm8egxjb/fXSINsOANTjDUQ4U9M=";
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";