From f729d79fec14064cac6851d0fdbf4fbb5941e4d0 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Tue, 20 Oct 2015 07:38:25 +0000 Subject: [PATCH] pkgs.units: 2.11 -> 2.12 See http://lists.gnu.org/archive/html/info-gnu/2015-10/msg00006.html --- pkgs/tools/misc/units/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/units/default.nix b/pkgs/tools/misc/units/default.nix index 85d3049b2707..6a7c3b130bd0 100644 --- a/pkgs/tools/misc/units/default.nix +++ b/pkgs/tools/misc/units/default.nix @@ -1,10 +1,11 @@ {stdenv, fetchurl}: -stdenv.mkDerivation { - name = "units-2.11"; +stdenv.mkDerivation rec { + name = "units-${version}"; + version = "2.12"; src = fetchurl { - url = mirror://gnu/units/units-2.11.tar.gz; - sha256 = "1gjs3wc212aaiq4r76hx9nl1h3fa39n0ljwl9420d6ixl3rdmdjk"; + url = "mirror://gnu/units/${name}.tar.gz"; + sha256 = "1jxvjknz2jhq773jrwx9gc1df3gfy73yqmkjkygqxzpi318yls3q"; }; meta = {