about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/osmctools/default.nix
blob: 230bc80d180a172004deaf6f1fd921a089ad41d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv, fetchFromGitLab, autoreconfHook, zlib }:

stdenv.mkDerivation rec {
  pname = "osmctools";
  version = "0.9";

  src = fetchFromGitLab {
    owner = "osm-c-tools";
    repo = pname;
    rev = version;
    sha256 = "1m8d3r1q1v05pkr8k9czrmb4xjszw6hvgsf3kn9pf0v14gpn4r8f";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ zlib ];

  meta = with lib; {
    description = "Command line tools for transforming Open Street Map files";
    homepage = [
      "https://wiki.openstreetmap.org/wiki/osmconvert"
      "https://wiki.openstreetmap.org/wiki/osmfilter"
      "https://wiki.openstreetmap.org/wiki/osmupdate"
    ];
    maintainers = with maintainers; [ sikmir ];
    platforms = platforms.unix;
    license = licenses.agpl3Only;
  };
}