14 rustPlatform.buildRustPackage rec {
16 version = "2.0.0-rc1";
18 src = fetchFromGitHub {
19 owner = "sudipghimire533";
22 hash = "sha256-f/23PVk4bpUCvcQ25iNI/UVXqiPBzPKWq6OohVF41p8=";
25 cargoHash = "sha256-766Wev2/R/9LLlWWxOPl6y4CBRUU4hUrTDlVVuoJ8C8=";
28 "--skip=tests::display_config_path"
29 "--skip=tests::inspect_server_list"
41 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 darwin.apple_sdk.frameworks.CoreFoundation
43 darwin.apple_sdk.frameworks.Security
47 wrapProgram $out/bin/ytui_music \
48 --prefix PATH : ${lib.makeBinPath [ youtube-dl ]}
51 doInstallCheck = true;
53 installCheckPhase = ''
54 runHook preInstallCheck
56 $out/bin/ytui_music help
58 runHook postInstallCheck
62 description = "Youtube client in terminal for music";
63 homepage = "https://github.com/sudipghimire533/ytui-music";
64 license = licenses.gpl2Only;
65 maintainers = with maintainers; [ kashw2 ];
66 mainProgram = "ytui_music";