1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/udunits/default.nix

23 lines
681 B
Nix
Raw Normal View History

{ stdenv, fetchurl,
bison, flex, expat, file
}:
stdenv.mkDerivation rec {
2017-03-29 04:40:10 +01:00
name = "udunits-2.2.24";
src = fetchurl {
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
2017-03-29 04:40:10 +01:00
sha256 = "15bz2wv46wiwdzai8770gzy05prgj120x6j2hmihavv5y89cbfi0";
};
2017-01-16 19:37:44 +00:00
nativeBuildInputs = [ bison flex file ];
buildInputs = [ expat ];
2016-03-19 11:08:58 +00:00
meta = with stdenv.lib; {
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 ];
};
}