2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osmium-tool";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.12.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "osmcode";
|
|
|
|
repo = "osmium-tool";
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "18afn5qzdjpip176kk5pr04mj0p7dv70dbz1n36qmqnq3gyms10q";
|
2020-04-24 23:36:52 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|