Merge pull request #108813 from sikmir/osmium
This commit is contained in:
commit
5ec6c8e718
@ -7,19 +7,20 @@
|
||||
, bzip2
|
||||
, expat
|
||||
, libosmium
|
||||
, lz4
|
||||
, protozero
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "osmium-tool";
|
||||
version = "1.12.1";
|
||||
version = "1.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmcode";
|
||||
repo = "osmium-tool";
|
||||
rev = "v${version}";
|
||||
sha256 = "13142hj8gfgj6w51a62hjzfmzic90xgrnnlnb70hpdqjy86bxv7j";
|
||||
sha256 = "0rn67g4xf01i7pkxrdh87jdj2rzkw5pfkx5wkg9245z5yxjxhqj2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||
bzip2
|
||||
expat
|
||||
libosmium
|
||||
lz4
|
||||
protozero
|
||||
zlib
|
||||
];
|
||||
@ -46,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
|
||||
homepage = "https://osmcode.org/osmium-tool/";
|
||||
license = with licenses; [ gpl3 mit bsd3 ];
|
||||
license = with licenses; [ gpl3Plus mit bsd3 ];
|
||||
maintainers = with maintainers; [ das-g ];
|
||||
};
|
||||
}
|
||||
|
@ -2,19 +2,21 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libosmium";
|
||||
version = "2.15.6";
|
||||
version = "2.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmcode";
|
||||
repo = "libosmium";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rqy18bbakp41f44y5id9ixh0ar2dby46z17p4115z8k1vv9znq2";
|
||||
sha256 = "1na51g6xfm1bx0d0izbg99cwmqn0grp0g41znn93xnhs202qnb2h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ protozero zlib bzip2 expat boost ];
|
||||
|
||||
cmakeFlags = [ "-DINSTALL_GDALCPP:BOOL=ON" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyosmium";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
|
||||
disabled = pythonOlder "3.4" || isPyPy;
|
||||
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
owner = "osmcode";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "06jngbmmmswhyi5q5bjph6gwss28d2azn5414zf0arik5bcvz128";
|
||||
sha256 = "0m11hdgiysdhyi5yn6nj8a8ycjzx5hpjy7n1c4j6q5caifj7rf7h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
Loading…
Reference in New Issue
Block a user