3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/udunits/default.nix
2017-01-21 23:36:40 +01:00

23 lines
680 B
Nix

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