From 2e3a2299152649503f7ddffd5376ca0af398dd53 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 25 Mar 2015 22:42:36 -0700 Subject: [PATCH] which: 2.20 -> 2.21 --- pkgs/tools/system/which/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/system/which/default.nix b/pkgs/tools/system/which/default.nix index 6662d90e8bd4..e9199a8f0632 100644 --- a/pkgs/tools/system/which/default.nix +++ b/pkgs/tools/system/which/default.nix @@ -1,15 +1,16 @@ { stdenv, fetchurl }: -stdenv.mkDerivation { - name = "which-2.20"; +stdenv.mkDerivation rec { + name = "which-2.21"; src = fetchurl { - url = mirror://gnu/which/which-2.20.tar.gz; - sha256 = "1y2p50zadb36izzh2zw4dm5hvdiydqf3qa88l8kav20dcmfbc5yl"; + url = "mirror://gnu/which/${name}.tar.gz"; + sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl"; }; - meta = { + meta = with stdenv.lib; { homepage = http://ftp.gnu.org/gnu/which/; - platforms = stdenv.lib.platforms.all; + platforms = platforms.all; + license = licenses.gpl3; }; }