Merge pull request #49429 from das-g/osmium
osmium-tool: init at 1.9.1 incl. dependencies
This commit is contained in:
commit
7f58e8dbad
@ -967,6 +967,11 @@
|
||||
github = "danielfullmer";
|
||||
name = "Daniel Fullmer";
|
||||
};
|
||||
das-g = {
|
||||
email = "nixpkgs@raphael.dasgupta.ch";
|
||||
github = "das-g";
|
||||
name = "Raphael Das Gupta";
|
||||
};
|
||||
das_j = {
|
||||
email = "janne@hess.ooo";
|
||||
github = "dasJ";
|
||||
|
23
pkgs/applications/misc/osmium-tool/default.nix
Normal file
23
pkgs/applications/misc/osmium-tool/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "osmium-tool-${version}";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmcode";
|
||||
repo = "osmium-tool";
|
||||
rev = "v${version}";
|
||||
sha256 = "1cwabjbrdpqbi2gl7448sgniiwwa73avi9l6pnvh4r0jia2wi5wk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libosmium protozero boost bzip2 zlib expat ];
|
||||
|
||||
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 ];
|
||||
maintainers = with maintainers; [ das-g ];
|
||||
};
|
||||
}
|
24
pkgs/development/libraries/libosmium/default.nix
Normal file
24
pkgs/development/libraries/libosmium/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, protozero, expat, zlib, bzip2, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libosmium-${version}";
|
||||
version = "2.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osmcode";
|
||||
repo = "libosmium";
|
||||
rev = "v${version}";
|
||||
sha256 = "123ri1l0a2b9fljgpwsl7z2w4i3kmgxz79d4ns9z4mwbp8sw0250";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ protozero zlib bzip2 expat boost ];
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Fast and flexible C++ library for working with OpenStreetMap data";
|
||||
homepage = "https://osmcode.org/libosmium/";
|
||||
license = licenses.boost;
|
||||
maintainers = with maintainers; [ das-g ];
|
||||
};
|
||||
}
|
22
pkgs/development/libraries/protozero/default.nix
Normal file
22
pkgs/development/libraries/protozero/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "protozero-${version}";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = "protozero";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lalk6hp7hqfn4fhhl2zb214idwm4y8dj32vi383arckzmsryhiw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Minimalistic protocol buffer decoder and encoder in C++";
|
||||
homepage = "https://github.com/mapbox/protozero";
|
||||
license = with licenses; [ bsd2 asl20 ];
|
||||
maintainers = with maintainers; [ das-g ];
|
||||
};
|
||||
}
|
@ -11025,6 +11025,8 @@ with pkgs;
|
||||
|
||||
libosip_3 = callPackage ../development/libraries/osip/3.nix {};
|
||||
|
||||
libosmium = callPackage ../development/libraries/libosmium { };
|
||||
|
||||
libosmocore = callPackage ../applications/misc/libosmocore { };
|
||||
|
||||
libosmpbf = callPackage ../development/libraries/libosmpbf {};
|
||||
@ -11826,6 +11828,8 @@ with pkgs;
|
||||
|
||||
protobufc = callPackage ../development/libraries/protobufc/1.3.nix { };
|
||||
|
||||
protozero = callPackage ../development/libraries/protozero { };
|
||||
|
||||
flatbuffers = callPackage ../development/libraries/flatbuffers { };
|
||||
|
||||
gnupth = callPackage ../development/libraries/pth { };
|
||||
@ -18341,6 +18345,8 @@ with pkgs;
|
||||
|
||||
osmctools = callPackage ../applications/misc/osmctools { };
|
||||
|
||||
osmium-tool = callPackage ../applications/misc/osmium-tool { };
|
||||
|
||||
owamp = callPackage ../applications/networking/owamp { };
|
||||
|
||||
vivaldi = callPackage ../applications/networking/browsers/vivaldi {};
|
||||
|
Loading…
Reference in New Issue
Block a user