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