@@ -1,26 +1,49 @@
1−{ lib, stdenv, fetchFromGitHub, autoreconfHook,
3+, fetchFromGitHub
2− texinfo, bison, flex, expat, file
4+, autoreconfHook
5stdenv.mkDerivation rec {
12stdenv.mkDerivation rec {
6 pname = "udunits";
13 pname = "udunits";
7− version = "2.2.27.6";
14+ version = "unstable-2021-03-17";
9 src = fetchFromGitHub {
16 src = fetchFromGitHub {
10 owner = "Unidata";
17 owner = "Unidata";
11 repo = "UDUNITS-2";
18 repo = "UDUNITS-2";
12− rev = "v${version}";
19+ rev = "c83da987387db1174cd2266b73dd5dd556f4476b";
13− sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
20+ hash = "sha256-+HW21+r65OroCxMK2/B5fe7zHs4hD4xyoJK2bhdJGyQ=";
16− nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
23+ nativeBuildInputs = [
17− buildInputs = [ expat ];
30+ buildInputs = [
19 meta = with lib; {
34 meta = with lib; {
20 homepage = "https://www.unidata.ucar.edu/software/udunits/";
35 homepage = "https://www.unidata.ucar.edu/software/udunits/";
21 description = "A C-based package for the programatic handling of units of physical quantities";
36 description = "A C-based package for the programatic handling of units of physical quantities";
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
22− license = licenses.bsdOriginal;
45+ license = licenses.asl20;
46+ maintainers = with maintainers; [ AndersonTorres pSub ];
23 platforms = platforms.linux;
47 platforms = platforms.linux;
24− maintainers = with maintainers; [ pSub ];