depot/third_party/nixpkgs/pkgs/development/libraries/udunits/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
739 B
Nix

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