apacheHttpdPackages.mod_python: add passthru.updateScript
This commit is contained in:
parent
12f1b8f192
commit
fe949d046e
|
@ -1,4 +1,12 @@
|
|||
{ lib, stdenv, fetchFromGitHub, apacheHttpd, python3, libintl }:
|
||||
{
|
||||
apacheHttpd,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
libintl,
|
||||
nix-update-script,
|
||||
python3,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_python";
|
||||
|
@ -18,13 +26,21 @@ stdenv.mkDerivation rec {
|
|||
"BINDIR=$(out)/bin"
|
||||
];
|
||||
|
||||
passthru = { inherit apacheHttpd; };
|
||||
buildInputs = [
|
||||
apacheHttpd
|
||||
python3
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
libintl
|
||||
];
|
||||
|
||||
buildInputs = [ apacheHttpd python3 ]
|
||||
++ lib.optional stdenv.isDarwin libintl;
|
||||
passthru = {
|
||||
inherit apacheHttpd;
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://modpython.org/";
|
||||
changelog = "https://github.com/grisha/mod_python/blob/${version}/NEWS";
|
||||
description = "An Apache module that embeds the Python interpreter within the server";
|
||||
mainProgram = "mod_python";
|
||||
platforms = platforms.unix;
|
||||
|
|
Loading…
Reference in New Issue