mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
udunits: 2.2.26 -> 2.2.27.6 (#45660)
This commit is contained in:
parent
aa8bdaf0c4
commit
c2c13157bb
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user