nixpkgs/pkgs/development/libraries/udunits/default.nix
2017-01-16 20:37:44 +01:00

23 lines
680 B
Nix

{ stdenv, fetchurl,
bison, flex, expat, file
}:
stdenv.mkDerivation rec {
name = "udunits-2.2.21";
src = fetchurl {
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
sha256 = "0z8sglqc3d409cylqln53jrv97rw7npyh929y2xdvbc40kzzaxcv";
};
nativeBuildInputs = [ bison flex file ];
buildInputs = [ expat ];
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 ];
};
}