nur-packages

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

commit 16b2548e01ca7b141d038cd644f4b9f134183c43
parent b4276c04c91669316475f326be617d534d78350d
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat,  2 Jul 2022 20:34:52 +0300

Add osmdbt

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/osm/osmdbt/default.nix | 49+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -362,6 +362,7 @@ lib.makeScope newScope ( osm-tags-transform = callPackage ./osm/osm-tags-transform { }; osm2geojson = callPackage ./osm/osm2geojson { }; osmcoastline = callPackage ./osm/osmcoastline { }; + osmdbt = callPackage ./osm/osmdbt { }; osmosis = callPackage ./osm/osmosis { }; osmwalkthrough = callPackage ./osm/osmwalkthrough { }; phyghtmap = callPackage ./osm/phyghtmap { }; diff --git a/pkgs/osm/osmdbt/default.nix b/pkgs/osm/osmdbt/default.nix @@ -0,0 +1,49 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pandoc +, boost +, bzip2 +, expat +, libosmium +, libpqxx +, libyamlcpp +, protozero +, zlib +}: + +stdenv.mkDerivation rec { + pname = "osmdbt"; + version = "0.6"; + + src = fetchFromGitHub { + owner = "openstreetmap"; + repo = pname; + rev = "v${version}"; + hash = "sha256-hXwWOOfvBrJqjMXsG/59J83PHwZqIKm+2B00QYoJD80="; + }; + + nativeBuildInputs = [ cmake pandoc ]; + + buildInputs = [ + boost + bzip2 + expat + libosmium + libpqxx + libyamlcpp + protozero + zlib + ]; + + cmakeFlags = [ "-DBUILD_PLUGIN=OFF" ]; + + meta = with lib; { + description = "OSM Database Replication Tools"; + inherit (src.meta) homepage; + license = licenses.gpl3Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}