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