Merge pull request #140500 from thiagokokada/bump-pamixer

pamixer: unstable-2021-03-29 -> 1.5
This commit is contained in:
figsoda 2021-10-04 12:37:36 -04:00 committed by GitHub
commit 5b00acb6fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +1,19 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, boost, libpulseaudio, installShellFiles }: { lib, stdenv, fetchFromGitHub, boost, libpulseaudio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pamixer"; pname = "pamixer";
version = "unstable-2021-03-29"; version = "1.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cdemoulins"; owner = "cdemoulins";
repo = "pamixer"; repo = "pamixer";
rev = "4ea2594cb8c605dccd00a381ba19680eba368e94"; rev = version;
sha256 = "sha256-kV4wIxm1WZvqqyfmgQ2cSbRJwJR154OW0MMDg2ntf6g="; sha256 = "sha256-7VNhHAQ1CecQPlqb8SMKK0U1SsFZxDuS+QkPqJfMqrQ=";
}; };
buildInputs = [ boost libpulseaudio ]; buildInputs = [ boost libpulseaudio ];
nativeBuildInputs = [ installShellFiles ]; makeFlags = [ "PREFIX=$(out)" ];
installPhase = ''
runHook preInstall
install -Dm755 pamixer -t $out/bin
runHook postInstall
'';
postInstall = ''
installManPage pamixer.1
'';
meta = with lib; { meta = with lib; {
description = "Pulseaudio command line mixer"; description = "Pulseaudio command line mixer";