mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-01 17:40:20 +02:00
Merge pull request #140500 from thiagokokada/bump-pamixer
pamixer: unstable-2021-03-29 -> 1.5
This commit is contained in:
commit
5b00acb6fd
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue