udunits: 2.2.26 -> 2.2.27.6 (#45660)

This commit is contained in:
Pascal Wittmann 2018-08-27 00:26:07 +02:00 committed by xeji
parent aa8bdaf0c4
commit c2c13157bb

View File

@ -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 ];
};
}