btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / pw / pw-volume / package.nix
blob290cd4ffbf2d26a6e64799cd1462d4927d53de7c
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "pw-volume";
8   version = "0.5.0";
10   src = fetchFromGitHub {
11     owner = "smasher164";
12     repo = pname;
13     rev = "v${version}";
14     sha256 = "sha256-r/6AAZKZgPYUGic/Dag7OT5RtH+RKgEkJVWxsO5VGZ0=";
15   };
17   cargoHash = "sha256-srwbrMBUJz/Xi+Hk2GY9oo4rcTfKl/r146YWSSx6dew=";
19   meta = with lib; {
20     description = "Basic interface to PipeWire volume controls";
21     homepage = "https://github.com/smasher164/pw-volume";
22     changelog = "https://github.com/smasher164/pw-volume/releases/tag/v${version}";
23     license = licenses.mit;
24     maintainers = with maintainers; [ astro figsoda ];
25     platforms = platforms.linux;
26     mainProgram = "pw-volume";
27   };