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