mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
pamixer: apply a patch to fix pulseaudio initialization bug
This commit is contained in:
parent
0712a61ac1
commit
7cd02c8a4c
1 changed files with 12 additions and 5 deletions
|
@ -1,15 +1,22 @@
|
|||
{ stdenv, fetchurl, boost, libpulseaudio }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, boost, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "pamixer-${version}";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/cdemoulins/pamixer/archive/${version}.tar.gz";
|
||||
sha256 = "1lsvb4xk1dq762w9c0jn7xvj3v1lzppql9mj1b55fhzdypbrkm6x";
|
||||
src = fetchFromGitHub {
|
||||
owner = "cdemoulins";
|
||||
repo = "pamixer";
|
||||
rev = version;
|
||||
sha256 = "15zs2x4hnrpxphqn542b6qqm4ymvhkvbcfyffy69d6cki51chzzw";
|
||||
};
|
||||
|
||||
# Remove after https://github.com/cdemoulins/pamixer/pull/16 gets fixed
|
||||
patches = [(fetchpatch {
|
||||
url = "https://github.com/oxij/pamixer/commit/dea1cd967aa837940e5c0b04ef7ebc47a7a93d63.patch";
|
||||
sha256 = "0s77xmsiwywyyp6f4bjxg1sqdgms1k5fiy7na6ws0aswshfnzfjb";
|
||||
})];
|
||||
|
||||
buildInputs = [ boost libpulseaudio ];
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue