From b1d1397c5c77380ccf861ea33d12133adeade2dd Mon Sep 17 00:00:00 2001 From: _1126 Date: Mon, 13 Apr 2015 13:28:29 +0200 Subject: [PATCH] pamixer: update to 1.2.1 This commit also switches from fetchgit to fetchurl. --- pkgs/applications/audio/pamixer/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/audio/pamixer/default.nix b/pkgs/applications/audio/pamixer/default.nix index d273c238177..c25e0518f43 100644 --- a/pkgs/applications/audio/pamixer/default.nix +++ b/pkgs/applications/audio/pamixer/default.nix @@ -1,20 +1,19 @@ -{ stdenv, fetchgit, pulseaudio, boost }: +{ stdenv, fetchurl, unzip, pulseaudio, boost }: let - tag = "1.1"; + tag = "1.2.1"; in stdenv.mkDerivation rec { name = "pamixer-${tag}"; - src = fetchgit { - url = git://github.com/cdemoulins/pamixer; - rev = "refs/tags/${tag}"; - sha256 = "03r0sbfj85wp6yxa87pjg69ivmk0mxxa2nykr8gf2c607igmb034"; + src = fetchurl { + url = "https://github.com/cdemoulins/pamixer/archive/1.2.1.zip"; + sha256 = "2e66bb9810c853ae2d020d5e6eeb2b68cd43c6434b2298ccc423d9810f0cbd6a"; }; - buildInputs = [ pulseaudio boost ]; + buildInputs = [ unzip pulseaudio boost ]; installPhase = '' mkdir -p $out/bin