uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/servers/geospatial/mapcache/default.nix
Normal file
59
pkgs/servers/geospatial/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.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MapServer";
|
||||
repo = pname;
|
||||
rev = "rel-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
||||
sha256 = "sha256-NuiZMWcmsN5wDCd37Hvj3cazwT3Ea+OknV/YR3urZB0=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue