depot/third_party/nixpkgs/pkgs/tools/audio/pw-volume/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

27 lines
716 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "pw-volume";
version = "0.5.0";
src = fetchFromGitHub {
owner = "smasher164";
repo = pname;
rev = "v${version}";
sha256 = "sha256-r/6AAZKZgPYUGic/Dag7OT5RtH+RKgEkJVWxsO5VGZ0=";
};
cargoSha256 = "sha256-srwbrMBUJz/Xi+Hk2GY9oo4rcTfKl/r146YWSSx6dew=";
meta = with lib; {
description = "Basic interface to PipeWire volume controls";
homepage = "https://github.com/smasher164/pw-volume";
changelog = "https://github.com/smasher164/pw-volume/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ astro figsoda ];
platforms = platforms.linux;
};
}