git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #140500 from thiagokokada/bump-pamixer

pamixer: unstable-2021-03-29 -> 1.5

commit5b00acb6fd9dec3a1fc5372b4e3fb4721be9e64f authorfigsoda <figsoda@pm.me> dateMon 4 Oct 2021, 12:37 (5 years ago) parent86a3d86c8352c0
1 file changed+5−17
pkgs/applications/audio/pamixer/default.nix+5−17
pkgs/applications/audio/pamixer/default.nix+5−17
@@ -1,31 +1,19 @@
1−{ lib, stdenv, fetchFromGitHub, fetchpatch, boost, libpulseaudio, installShellFiles }:
1+{ lib, stdenv, fetchFromGitHub, boost, libpulseaudio }:
22
33stdenv.mkDerivation rec {
44 pname = "pamixer";
5− version = "unstable-2021-03-29";
5+ version = "1.5";
66
77 src = fetchFromGitHub {
88 owner = "cdemoulins";
99 repo = "pamixer";
10− rev = "4ea2594cb8c605dccd00a381ba19680eba368e94";
11− sha256 = "sha256-kV4wIxm1WZvqqyfmgQ2cSbRJwJR154OW0MMDg2ntf6g=";
10+ rev = version;
11+ sha256 = "sha256-7VNhHAQ1CecQPlqb8SMKK0U1SsFZxDuS+QkPqJfMqrQ=";
1212 };
1313
1414 buildInputs = [ boost libpulseaudio ];
1515
16− nativeBuildInputs = [ installShellFiles ];
17−
18− installPhase = ''
19− runHook preInstall
20−
21− install -Dm755 pamixer -t $out/bin
22−
23− runHook postInstall
24− '';
25−
26− postInstall = ''
27− installManPage pamixer.1
28− '';
16+ makeFlags = [ "PREFIX=$(out)" ];
2917
3018 meta = with lib; {
3119 description = "Pulseaudio command line mixer";