mapcache: init at 1.10.0
This commit is contained in:
parent
65cec7a97e
commit
937852df52
2 changed files with 61 additions and 0 deletions
59
pkgs/servers/mapcache/default.nix
Normal file
59
pkgs/servers/mapcache/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, apacheHttpd, apr, aprutil, curl, db, fcgi, gdal, geos
|
||||
, libgeotiff, libjpeg, libpng, libtiff, pcre, pixman, proj, sqlite, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mapcache";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MapServer";
|
||||
repo = pname;
|
||||
rev = "rel-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
||||
sha256 = "sha256-HrvcJAf0a6tu8AKKuW5TaCtqPMgzH21fGMBxIfUzdgY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
apacheHttpd
|
||||
apr
|
||||
aprutil
|
||||
curl
|
||||
db
|
||||
fcgi
|
||||
gdal
|
||||
geos
|
||||
libgeotiff
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
pcre
|
||||
pixman
|
||||
proj
|
||||
sqlite
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_BERKELEY_DB=ON"
|
||||
"-DWITH_MEMCACHE=ON"
|
||||
"-DWITH_TIFF=ON"
|
||||
"-DWITH_GEOTIFF=ON"
|
||||
"-DWITH_PCRE=ON"
|
||||
"-DAPACHE_MODULE_DIR=${placeholder "out"}/modules"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A server that implements tile caching to speed up access to WMS layers";
|
||||
homepage = "https://mapserver.org/mapcache/";
|
||||
changelog = "https://www.mapserver.org/development/changelog/mapcache/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -6630,6 +6630,8 @@ with pkgs;
|
|||
|
||||
makebootfat = callPackage ../tools/misc/makebootfat { };
|
||||
|
||||
mapcache = callPackage ../servers/mapcache { };
|
||||
|
||||
mapserver = callPackage ../servers/mapserver { };
|
||||
|
||||
martin = callPackage ../servers/martin {
|
||||
|
|
Loading…
Reference in a new issue