2014-11-21 16:15:40 +03:00
|
|
|
{ stdenv, fetchurl,
|
|
|
|
bison, flex, expat, file
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-22 01:13:33 +03:00
|
|
|
name = "udunits-2.2.23";
|
2014-11-21 16:15:40 +03:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
|
2017-01-22 01:13:33 +03:00
|
|
|
sha256 = "0ya93jrv8qzfkdj77grl4dpyb0ap4jccmqx3rkkgaggnklhjfwkr";
|
2014-11-21 16:15:40 +03:00
|
|
|
};
|
|
|
|
|
2017-01-16 22:37:44 +03:00
|
|
|
nativeBuildInputs = [ bison flex file ];
|
|
|
|
buildInputs = [ expat ];
|
2014-11-21 16:15:40 +03:00
|
|
|
|
2016-03-19 14:08:58 +03:00
|
|
|
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 ];
|
|
|
|
};
|
2014-11-21 16:15:40 +03:00
|
|
|
}
|