apacheHttpdPackages.mod_tile fix
This commit is contained in:
parent
47cd8c9948
commit
30f13efe8d
1 changed files with 39 additions and 2 deletions
|
@ -1,4 +1,22 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, apacheHttpd, apr, cairo, iniparser, mapnik }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, apacheHttpd
|
||||
, apr
|
||||
, cairo
|
||||
, iniparser
|
||||
, mapnik
|
||||
, boost
|
||||
, icu
|
||||
, harfbuzz
|
||||
, libjpeg
|
||||
, libtiff
|
||||
, libwebp
|
||||
, proj
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_tile";
|
||||
|
@ -21,8 +39,27 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
# test is broken and I couldn't figure out a better way to disable it.
|
||||
postPatch = ''
|
||||
echo "int main(){return 0;}" > src/gen_tile_test.cpp
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ apacheHttpd apr cairo iniparser mapnik ];
|
||||
buildInputs = [
|
||||
apacheHttpd
|
||||
apr
|
||||
cairo
|
||||
iniparser
|
||||
mapnik
|
||||
boost
|
||||
icu
|
||||
harfbuzz
|
||||
libjpeg
|
||||
libtiff
|
||||
libwebp
|
||||
proj
|
||||
sqlite
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
|
||||
|
|
Loading…
Reference in a new issue