2014-11-21 13:15:40 +00:00
|
|
|
{ stdenv, fetchurl,
|
|
|
|
bison, flex, expat, file
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-19 11:08:58 +00:00
|
|
|
name = "udunits-2.2.20";
|
2014-11-21 13:15:40 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
|
2016-03-19 11:08:58 +00:00
|
|
|
sha256 = "15fiv66ni6fmyz96k138vrjd7cx6ndxrj6c71pah18n69c0h42pi";
|
2014-11-21 13:15:40 +00:00
|
|
|
};
|
|
|
|
|
2016-03-19 11:08:58 +00:00
|
|
|
buildInputs = [ bison flex expat file ];
|
2014-11-21 13:15:40 +00:00
|
|
|
|
2016-03-19 11:08:58 +00: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 13:15:40 +00:00
|
|
|
}
|