diff options
Diffstat (limited to 'pkgs/development/libraries/udunits/default.nix')
-rw-r--r-- | pkgs/development/libraries/udunits/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/libraries/udunits/default.nix b/pkgs/development/libraries/udunits/default.nix index 608900c85adee..a48f4487dd5d4 100644 --- a/pkgs/development/libraries/udunits/default.nix +++ b/pkgs/development/libraries/udunits/default.nix @@ -3,17 +3,19 @@ }: stdenv.mkDerivation rec { - name = "udunits-2.1.24"; + name = "udunits-2.2.20"; src = fetchurl { url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz"; - sha256 = "1l0fdsl55374w7fjyd1wdx474f3p265b6rw1lq269cii61ca8prf"; + sha256 = "15fiv66ni6fmyz96k138vrjd7cx6ndxrj6c71pah18n69c0h42pi"; }; - buildInputs = [ - bison flex expat file - ]; + buildInputs = [ bison flex expat file ]; - patches = [ ./configure.patch ]; - - MAGIC_CMD="${file}/bin/file"; + meta = with stdenv.lib; { + homepage = http://www.unidata.ucar.edu/software/udunits/; + description = "A C-based package for the programatic handling of units of physical quantities"; + license = licenses.bsdOriginal; + platforms = platforms.linux; + maintainers = with maintainers; [ pSub ]; + }; } |