apacheHttpdPackages.mod_python: fix darwin build
This commit is contained in:
parent
7c35d1e73e
commit
34d988e673
|
@ -1,10 +1,11 @@
|
||||||
{ lib, stdenv, fetchurl, apacheHttpd, python2 }:
|
{ lib, stdenv, fetchurl, apacheHttpd, python2, libintl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mod_python-3.5.0";
|
pname = "mod_python";
|
||||||
|
version = "3.5.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dist.modpython.org/dist/${name}.tgz";
|
url = "http://dist.modpython.org/dist/${pname}-${version}.tgz";
|
||||||
sha256 = "146apll3yfqk05s8fkf4acmxzqncl08bgn4rv0c1rd4qxmc91w0f";
|
sha256 = "146apll3yfqk05s8fkf4acmxzqncl08bgn4rv0c1rd4qxmc91w0f";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
passthru = { inherit apacheHttpd; };
|
passthru = { inherit apacheHttpd; };
|
||||||
|
|
||||||
buildInputs = [ apacheHttpd python2 ];
|
buildInputs = [ apacheHttpd python2 ]
|
||||||
|
++ lib.optional stdenv.isDarwin libintl;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://modpython.org/";
|
homepage = "http://modpython.org/";
|
||||||
|
|
Loading…
Reference in New Issue