Skip to content

Commit

Permalink
udunits: 2.2.26 -> 2.2.27.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Aug 26, 2018
1 parent 3f002f1 commit f738961
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions pkgs/development/libraries/udunits/default.nix
@@ -1,22 +1,26 @@
{ stdenv, fetchurl,
bison, flex, expat, file
{ stdenv, fetchFromGitHub, autoreconfHook,
texinfo, bison, flex, expat, file
}:

stdenv.mkDerivation rec {
name = "udunits-2.2.26";
src = fetchurl {
url = "ftp://ftp.unidata.ucar.edu/pub/udunits/${name}.tar.gz";
sha256 = "0v9mqw4drnkzkm57331ail6yvs9485jmi37s40lhvmf7r5lli3rn";
};
name = "udunits-${version}";
version = "2.2.27.6";

src = fetchFromGitHub {
owner = "Unidata";
repo = "UDUNITS-2";
rev = "v${version}";
sha256 = "0621pac24c842dyipzaa59rh6pza9phdqi3snd4cq4pib0wjw6gm";
};

nativeBuildInputs = [ bison flex file ];
buildInputs = [ expat ];
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 ];
};
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 ];
};
}

0 comments on commit f738961

Please sign in to comment.