nur-packages

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

commit adbefcc77ae44ac6356bde59a5f0b3b80b6a9d7e
parent b6d7e5073c3bcc78abf41290324da72d670427ab
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 16 Jul 2022 14:24:28 +0300

Add memphis

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/osm/memphis/default.nix | 36++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -360,6 +360,7 @@ lib.makeScope newScope ( map-machine = callPackage ./osm/map-machine { }; map-stylizer = callPackage ./osm/map-stylizer { }; maperitive-bin = callPackage ./osm/maperitive/bin.nix { }; + memphis = callPackage ./osm/memphis { }; osm-3s = callPackage ./osm/osm-3s { }; osm-area-tools = callPackage ./osm/osm-area-tools { }; osm-python-tools = callPackage ./osm/osm-python-tools { }; diff --git a/pkgs/osm/memphis/default.nix b/pkgs/osm/memphis/default.nix @@ -0,0 +1,36 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk-doc, pkg-config +, cairo, expat, glib +}: + +stdenv.mkDerivation rec { + pname = "memphis"; + version = "0.2.3"; + + src = fetchFromGitHub { + owner = "jiuka"; + repo = pname; + rev = version; + hash = "sha256-mBRu2EHEuoHz3scoVaYqAMBZXbG7XkKwdHe9O0gaDBk="; + }; + + nativeBuildInputs = [ + autoreconfHook + gtk-doc + pkg-config + ]; + + buildInputs = [ + cairo + expat + glib + ]; + + meta = with lib; { + description = "Map-rendering for OpenStreetMap"; + inherit (src.meta) homepage; + license = licenses.lgpl2Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + skip.ci = stdenv.isDarwin; + }; +}