Merge pull request #231047 from Aleksanaa/pbpctrl

pbpctrl: unstable-2023-02-07 -> 0.1.3

authored by

Weijia Wang and committed by
GitHub
9b5bd90d 92ab89d1

+6 -8
+6 -8
pkgs/applications/audio/pbpctrl/default.nix
··· 1 - { rustPlatform 2 , fetchFromGitHub 3 , pkg-config 4 , dbus 5 , protobuf 6 - , lib 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "pbpctrl"; 11 - 12 - # https://github.com/qzed/pbpctrl/issues/4 13 - version = "unstable-2023-02-07"; 14 15 src = fetchFromGitHub { 16 owner = "qzed"; 17 repo = "${pname}"; 18 - rev = "9fef4bb88046a9f00719b189f8e378c8dbdb8ee6"; 19 - hash = "sha256-8YbsBqqITJ9bKzbGX6d/CSBb8wzr6bDzy8vsyntL1CA="; 20 }; 21 22 - cargoHash = "sha256-ZxJjjaT/ZpEPxvO42UWBy3xW/V5dhXGsKn3KmuM89YA=="; 23 24 nativeBuildInputs = [ pkg-config protobuf ]; 25 buildInputs = [ dbus ];
··· 1 + { lib 2 + , rustPlatform 3 , fetchFromGitHub 4 , pkg-config 5 , dbus 6 , protobuf 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "pbpctrl"; 11 + version = "0.1.3"; 12 13 src = fetchFromGitHub { 14 owner = "qzed"; 15 repo = "${pname}"; 16 + rev = "v${version}"; 17 + hash = "sha256-CYroQb6x2d4ay3RZUSiSrcGDF0IL3ETZtHAFt18sa5s="; 18 }; 19 20 + cargoHash = "sha256-+YtnPKbxZENL6/u36RFFZA6F+19qHDAVx6Q8FSB/LCU="; 21 22 nativeBuildInputs = [ pkg-config protobuf ]; 23 buildInputs = [ dbus ];