nur-packages

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

commit f620c43e5953977e527a381b3d5da72a6b070868
parent 70c9591d905f0b263eed317a95e7b124e61354e6
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu,  7 Jul 2022 23:06:58 +0300

Move mod_mbtiles to nixpkgs

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/geospatial/mod_mbtiles/default.nix | 33---------------------------------
2 files changed, 0 insertions(+), 34 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -189,7 +189,6 @@ lib.makeScope newScope ( }; mbtiles2osmand = callPackage ./geospatial/mbtiles2osmand { }; mbutiles = callPackage ./geospatial/mbutiles { }; - mod_mbtiles = callPackage ./geospatial/mod_mbtiles { }; morecantile = callPackage ./geospatial/morecantile { }; orbisgis-bin = callPackage ./geospatial/orbisgis/bin.nix { jre = pkgs.jre8; }; ossim = callPackage ./geospatial/ossim { }; diff --git a/pkgs/geospatial/mod_mbtiles/default.nix b/pkgs/geospatial/mod_mbtiles/default.nix @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, apacheHttpd, sqlite }: - -stdenv.mkDerivation rec { - pname = "mod_mbtiles"; - version = "unstable-2022-05-25"; - - src = fetchFromGitHub { - owner = "systemed"; - repo = pname; - rev = "f9d12a9581820630dd923c3c90aa8dcdcf65cb87"; - sha256 = "sha256-wOoLSNLgh0YXHUFn7WfUkQXpyWsgCrVZlMg55rvi9q4="; - }; - - buildInputs = [ apacheHttpd sqlite ]; - - buildPhase = '' - apxs -lsqlite3 -ca mod_mbtiles.c - ''; - - installPhase = '' - runHook preInstall - install -D .libs/mod_mbtiles.so -t $out/modules - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/systemed/mod_mbtiles"; - description = "Serve tiles with Apache directly from an .mbtiles file"; - license = licenses.free; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}