chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / yt / ytermusic / package.nix
blob2611d46b849e65875cdcffe4955798d5d4584062
1 { alsa-lib
2 , dbus
3 , fetchFromGitHub
4 , lib
5 , openssl
6 , pkg-config
7 , rustPlatform
9 }:
11 rustPlatform.buildRustPackage rec {
12   pname = "ytermusic";
13   version = "0.1.0";
15   src = fetchFromGitHub {
16     owner = "ccgauche";
17     repo = "ytermusic";
18     rev = "beta-${version}";
19     hash = "sha256-nu/vedQNs5TgCG1v5qwwDTnFTyXCS2KnLVrnEhCtzCs=";
20   };
22   cargoLock = {
23     lockFile = ./Cargo.lock;
24     outputHashes = {
25       "rusty_ytdl-0.6.6" = "sha256-htXD8v9Yd7S0iLjP6iZu94tP5KO5vbmkdUybqA7OtlU=";
26       "symphonia-0.5.1" = "sha256-rGvde5w7czMLcOPARK1gFfDLn70VeIrn4nKOL6FPc2U=";
27     };
28   };
29   postPatch = "cp ${./Cargo.lock} Cargo.lock";
31   doCheck = true;
33   cargoBuildType = "release";
35   nativeBuildInputs = [
36     pkg-config
37   ];
39   buildInputs = [
40     openssl
41     alsa-lib
42     dbus
43   ];
45   meta = {
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";
52   };