2014-11-21 13:15:40 +00:00
|
|
|
{ stdenv, fetchurl,
|
|
|
|
bison, flex, expat, file
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-11 12:21:48 +00:00
|
|
|
name = "udunits-2.2.26";
|
2014-11-21 13:15:40 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
|
2018-02-11 12:21:48 +00:00
|
|
|
sha256 = "0v9mqw4drnkzkm57331ail6yvs9485jmi37s40lhvmf7r5lli3rn";
|
2014-11-21 13:15:40 +00:00
|
|
|
};
|
|
|
|
|
2017-01-16 19:37:44 +00:00
|
|
|
nativeBuildInputs = [ bison flex file ];
|
|
|
|
buildInputs = [ expat ];
|
2014-11-21 13:15:40 +00:00
|
|
|
|
2016-03-19 11:08:58 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-01 09:44:04 +00:00
|
|
|
homepage = https://www.unidata.ucar.edu/software/udunits/;
|
2016-03-19 11:08:58 +00:00
|
|
|
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 13:15:40 +00:00
|
|
|
}
|