git.iko.soy/typeable/nixpkgs
on master help sign in
udunits: 2.2.27.6 -> unstable-2021-03-17
ee07beeAndersonTorres
pkgs/development/libraries/udunits/default.nix+32−9
@@ -1,26 +1,49 @@
1+{ lib
2+, stdenv
1−{ lib, stdenv, fetchFromGitHub, autoreconfHook,
3+, fetchFromGitHub
2− texinfo, bison, flex, expat, file
4+, autoreconfHook
5+, bison
6+, expat
7+, file
8+, flex
9+, texinfo
3}:
10}:
4
11
5stdenv.mkDerivation rec {
12stdenv.mkDerivation rec {
6 pname = "udunits";
13 pname = "udunits";
7− version = "2.2.27.6";
14+ version = "unstable-2021-03-17";
8
15
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=";
14 };
21 };
15
22
16− nativeBuildInputs = [ autoreconfHook texinfo bison flex file ];
23+ nativeBuildInputs = [
24+ autoreconfHook
25+ texinfo
26+ bison
27+ flex
28+ file
29+ ];
17− buildInputs = [ expat ];
30+ buildInputs = [
31+ expat
32+ ];
18
33
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";
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+ '';
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 ];
25 };
48 };
26}
49}