2018-10-28 18:09:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "osmium-tool";
|
2019-09-28 01:09:41 +02:00
|
|
|
version = "1.11.0";
|
2018-10-28 18:09:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "osmcode";
|
|
|
|
repo = "osmium-tool";
|
|
|
|
rev = "v${version}";
|
2019-09-28 01:09:41 +02:00
|
|
|
sha256 = "164r1w539dzy67ir2rqh21kwdvkjv87isd18gp51qyxbsprz6kq5";
|
2018-10-28 18:09:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|