add udunits: a C library for units of physical quantities

This commit is contained in:
taku0
2014-11-23 20:15:58 +01:00
committed by Peter Simons
parent 3cc397b2a1
commit 34e714c32d
3 changed files with 33 additions and 0 deletions
@@ -0,0 +1,19 @@
{ stdenv, fetchurl,
bison, flex, expat, file
}:
stdenv.mkDerivation rec {
name = "udunits-2.1.24";
src = fetchurl {
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
sha256 = "1l0fdsl55374w7fjyd1wdx474f3p265b6rw1lq269cii61ca8prf";
};
buildInputs = [
bison flex expat file
];
patches = [ ./configure.patch ];
MAGIC_CMD="${file}/bin/file";
}