nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 85bd3b16395d9940910c7dcd78c87f7c5fede826
parent 7d4642fc90b7d09c9dab13966f54e66a2fa88a52
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Mon, 20 Sep 2021 12:01:51 +0300

Add overpass-api

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/osm/overpass-api/default.nix | 27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -290,6 +290,7 @@ lib.makeScope newScope ( maperitive-bin = callPackage ./osm/maperitive/bin.nix { }; osm-area-tools = callPackage ./osm/osm-area-tools { }; osmcoastline = callPackage ./osm/osmcoastline { }; + overpass-api = callPackage ./osm/overpass-api { }; phyghtmap = callPackage ./osm/phyghtmap { }; sdlmap = callPackage ./osm/sdlmap { }; smrender = callPackage ./osm/smrender { }; diff --git a/pkgs/osm/overpass-api/default.nix b/pkgs/osm/overpass-api/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, expat, zlib }: + +stdenv.mkDerivation rec { + pname = "overpass-api"; + version = "0.7.55"; + + src = fetchFromGitHub { + owner = "drolbr"; + repo = "Overpass-API"; + rev = "osm3s-v${version}"; + hash = "sha256-Hf2uLVeBo95bQKubX1CSJZIEYiL2CdwjtDwSr6yOjwU="; + }; + + sourceRoot = "${src.name}/src"; + + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ expat zlib ]; + + meta = with lib; { + description = "A database engine to query the OpenStreetMap data"; + homepage = "http://overpass-api.de/"; + license = licenses.agpl3Only; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}