diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-14 19:59:26 +0200 | 
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-14 19:59:26 +0200 | 
| commit | 6b443335b97cc2d6479595313e5a19d2f49c6b7a (patch) | |
| tree | 3e7396bc26ea927a6a1bdb97e12604d4df726688 /nix | |
| parent | a981d1a18082b10ac36df82c5ae99cf34a86e9ce (diff) | |
| download | utils-6b443335b97cc2d6479595313e5a19d2f49c6b7a.tar utils-6b443335b97cc2d6479595313e5a19d2f49c6b7a.tar.gz utils-6b443335b97cc2d6479595313e5a19d2f49c6b7a.tar.bz2 utils-6b443335b97cc2d6479595313e5a19d2f49c6b7a.tar.xz utils-6b443335b97cc2d6479595313e5a19d2f49c6b7a.zip  | |
pulseaudio-ctl
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/default.nix | 1 | ||||
| -rw-r--r-- | nix/pulseaudio-ctl.nix | 16 | 
2 files changed, 17 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix index 36aaa22..ad181fa 100644 --- a/nix/default.nix +++ b/nix/default.nix  | |||
| @@ -5,4 +5,5 @@ let | |||
| 5 | in rec { | 5 | in rec { | 
| 6 | cliparg = pkgs.callPackage ./cliparg.nix {}; | 6 | cliparg = pkgs.callPackage ./cliparg.nix {}; | 
| 7 | rebuild-system = pkgs.callPackage ./rebuild-system.nix {}; | 7 | rebuild-system = pkgs.callPackage ./rebuild-system.nix {}; | 
| 8 | pulseaudio-ctl = pkgs.callPackage ./pulseaudio-ctl.nix {}; | ||
| 8 | } | 9 | } | 
diff --git a/nix/pulseaudio-ctl.nix b/nix/pulseaudio-ctl.nix new file mode 100644 index 0000000..5747b72 --- /dev/null +++ b/nix/pulseaudio-ctl.nix  | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | { stdenv, fetchgit, makeWrapper, bc }: | ||
| 2 | |||
| 3 | stdenv.mkDerivation { | ||
| 4 | name = "pulseaudio-ctl"; | ||
| 5 | src = fetchgit { | ||
| 6 | url = "https://github.com/graysky2/pulseaudio-ctl"; | ||
| 7 | rev = "7650068abe5c1ccbb3003879f6cbd1a322ce5e66"; | ||
| 8 | sha256 = "020zq5l7527rp16qb7z82c2v5jf1rg2d6vk5drr0n7y8wq2f6prm"; | ||
| 9 | }; | ||
| 10 | makeFlags = ["PREFIX=$(out)"]; | ||
| 11 | buildInputs = [ makeWrapper ]; | ||
| 12 | postInstall = '' | ||
| 13 | wrapProgram $out/bin/pulseaudio-ctl \ | ||
| 14 | --prefix PATH : ${bc}/bin | ||
| 15 | ''; | ||
| 16 | } | ||
