2019-12-27 12:31:15 +01:00
|
|
|
{ stdenv, fetchFromGitLab, autoreconfHook, zlib }:
|
2016-09-03 16:04:52 +02:00
|
|
|
|
2019-12-27 12:31:15 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osmctools";
|
|
|
|
version = "0.9";
|
2016-10-13 14:33:48 +02:00
|
|
|
|
2019-12-27 12:31:15 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "osm-c-tools";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1m8d3r1q1v05pkr8k9czrmb4xjszw6hvgsf3kn9pf0v14gpn4r8f";
|
2016-09-03 16:04:52 +02:00
|
|
|
};
|
|
|
|
|
2019-12-27 12:31:15 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-09-03 16:04:52 +02:00
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-10-13 14:33:48 +02:00
|
|
|
description = "Command line tools for transforming Open Street Map files";
|
2017-04-24 01:47:10 +02:00
|
|
|
homepage = [
|
2020-04-01 03:11:51 +02:00
|
|
|
"https://wiki.openstreetmap.org/wiki/osmconvert"
|
|
|
|
"https://wiki.openstreetmap.org/wiki/osmfilter"
|
|
|
|
"https://wiki.openstreetmap.org/wiki/osmupdate"
|
2017-04-24 01:47:10 +02:00
|
|
|
];
|
2019-12-27 12:31:15 +01:00
|
|
|
maintainers = with maintainers; [ sikmir ];
|
2016-09-03 16:04:52 +02:00
|
|
|
platforms = platforms.unix;
|
2018-08-09 12:48:52 +02:00
|
|
|
license = licenses.agpl3;
|
2016-09-03 16:04:52 +02:00
|
|
|
};
|
|
|
|
}
|