nixpkgs/pkgs/development/libraries/udunits/default.nix

27 lines
737 B
Nix
Raw Normal View History

2018-08-26 22:26:07 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook,
texinfo, bison, flex, expat, file
}:
stdenv.mkDerivation rec {
pname = "udunits";
2018-08-26 22:26:07 +00:00
version = "2.2.27.6";
2018-08-26 22:26:07 +00:00
src = fetchFromGitHub {
owner = "Unidata";
repo = "UDUNITS-2";
rev = "v${version}";
sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
};
2018-08-26 22:26:07 +00:00
nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
buildInputs = [ expat ];
2018-08-26 22:26:07 +00:00
meta = with stdenv.lib; {
homepage = "https://www.unidata.ucar.edu/software/udunits/";
2018-08-26 22:26:07 +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 ];
};
}