@@ -1,26 +1,49 @@
1−{ lib, stdenv, fetchFromGitHub, autoreconfHook,
2− texinfo, bison, flex, expat, file
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, autoreconfHook
5+, bison
6+, expat
7+, file
8+, flex
9+, texinfo
310}:
411
512stdenv.mkDerivation rec {
613 pname = "udunits";
7− version = "2.2.27.6";
14+ version = "unstable-2021-03-17";
815
916 src = fetchFromGitHub {
1017 owner = "Unidata";
1118 repo = "UDUNITS-2";
12− rev = "v${version}";
13− sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
19+ rev = "c83da987387db1174cd2266b73dd5dd556f4476b";
20+ hash = "sha256-+HW21+r65OroCxMK2/B5fe7zHs4hD4xyoJK2bhdJGyQ=";
1421 };
1522
16− nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
17− buildInputs = [ expat ];
23+ nativeBuildInputs = [
24+ autoreconfHook
25+ texinfo
26+ bison
27+ flex
28+ file
29+ ];
30+ buildInputs = [
31+ expat
32+ ];
1833
1934 meta = with lib; {
2035 homepage = "https://www.unidata.ucar.edu/software/udunits/";
2136 description = "A C-based package for the programatic handling of units of physical quantities";
22− license = licenses.bsdOriginal;
37+ longDescription = ''
38+ The UDUNITS package supports units of physical quantities. Its C library
39+ provides for arithmetic manipulation of units and for conversion of
40+ numeric values between compatible units. The package contains an extensive
41+ unit database, which is in XML format and user-extendable. The package
42+ also contains a command-line utility for investigating units and
43+ converting values.
44+ '';
45+ license = licenses.asl20;
46+ maintainers = with maintainers; [ AndersonTorres pSub ];
2347 platforms = platforms.linux;
24− maintainers = with maintainers; [ pSub ];
2548 };
2649}