diff options
author | codyopel <codyopel@gmail.com> | 2015-04-19 03:56:42 -0400 |
---|---|---|
committer | codyopel <codyopel@gmail.com> | 2015-04-19 03:56:42 -0400 |
commit | 165e7bea42ad4874f0831be82b6be8ada8983126 (patch) | |
tree | e355a0d0017044796a1d61ca1f0d72115db91988 /pkgs | |
parent | 8d255c32ecf58cf31a160eb28de21529b48bcd08 (diff) | |
download | nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar.gz nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar.bz2 nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar.lz nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar.xz nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.tar.zst nixlib-165e7bea42ad4874f0831be82b6be8ada8983126.zip |
pamixer: remove unzip dependency
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/audio/pamixer/default.nix | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/pkgs/applications/audio/pamixer/default.nix b/pkgs/applications/audio/pamixer/default.nix index c25e0518f43c..d665b83340cf 100644 --- a/pkgs/applications/audio/pamixer/default.nix +++ b/pkgs/applications/audio/pamixer/default.nix @@ -1,19 +1,16 @@ -{ stdenv, fetchurl, unzip, pulseaudio, boost }: - -let - tag = "1.2.1"; -in +{ stdenv, fetchurl, boost, pulseaudio }: stdenv.mkDerivation rec { - name = "pamixer-${tag}"; + name = "pamixer-${version}"; + version = "1.2.1"; src = fetchurl { - url = "https://github.com/cdemoulins/pamixer/archive/1.2.1.zip"; - sha256 = "2e66bb9810c853ae2d020d5e6eeb2b68cd43c6434b2298ccc423d9810f0cbd6a"; + url = "https://github.com/cdemoulins/pamixer/archive/${version}.tar.gz"; + sha256 = "1ad6b46hh02hs1978pgihrm2bnq4z2v0imrfm3wy74xdkr6xjxy4"; }; - buildInputs = [ unzip pulseaudio boost ]; + buildInputs = [ boost pulseaudio ]; installPhase = '' mkdir -p $out/bin @@ -21,17 +18,19 @@ stdenv.mkDerivation rec { ''; meta = with stdenv.lib; { - description = "Like amixer but for pulseaudio"; - longDescription = "Features: - - Get the current volume of the default sink, the default source or a selected one by his id - - Set the volume for the default sink, the default source or any other device - - List the sinks - - List the sources - - Increase / Decrease the volume for a device - - Mute or unmute a device"; + description = "Pulseaudio command line mixer"; + longDescription = '' + Features: + - Get the current volume of the default sink, the default source or a selected one by his id + - Set the volume for the default sink, the default source or any other device + - List the sinks + - List the sources + - Increase / Decrease the volume for a device + - Mute or unmute a device + ''; homepage = https://github.com/cdemoulins/pamixer; license = licenses.gpl3; + maintainers = with maintainers; [ _1126 ]; platforms = platforms.linux; - maintainers = [ maintainers._1126 ]; }; } |