udunits: 2.2.27.6 -> unstable-2021-03-17
This commit is contained in:
parent
5361b4b7cc
commit
ee07bee080
@ -1,26 +1,49 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook,
|
{ lib
|
||||||
texinfo, bison, flex, expat, file
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, bison
|
||||||
|
, expat
|
||||||
|
, file
|
||||||
|
, flex
|
||||||
|
, texinfo
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "udunits";
|
pname = "udunits";
|
||||||
version = "2.2.27.6";
|
version = "unstable-2021-03-17";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Unidata";
|
owner = "Unidata";
|
||||||
repo = "UDUNITS-2";
|
repo = "UDUNITS-2";
|
||||||
rev = "v${version}";
|
rev = "c83da987387db1174cd2266b73dd5dd556f4476b";
|
||||||
sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
|
hash = "sha256-+HW21+r65OroCxMK2/B5fe7zHs4hD4xyoJK2bhdJGyQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ expat ];
|
autoreconfHook
|
||||||
|
texinfo
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
file
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
expat
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.unidata.ucar.edu/software/udunits/";
|
homepage = "https://www.unidata.ucar.edu/software/udunits/";
|
||||||
description = "A C-based package for the programatic handling of units of physical quantities";
|
description = "A C-based package for the programatic handling of units of physical quantities";
|
||||||
license = licenses.bsdOriginal;
|
longDescription = ''
|
||||||
|
The UDUNITS package supports units of physical quantities. Its C library
|
||||||
|
provides for arithmetic manipulation of units and for conversion of
|
||||||
|
numeric values between compatible units. The package contains an extensive
|
||||||
|
unit database, which is in XML format and user-extendable. The package
|
||||||
|
also contains a command-line utility for investigating units and
|
||||||
|
converting values.
|
||||||
|
'';
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres pSub ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ pSub ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user