1 { lib, stdenv, fetchFromGitHub, apacheHttpd, python3, ncurses }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "GrahamDumpleton";
11 hash = "sha256-/4swm4AYCN3xyz2+OH7XqH/dFC53wqGPZgEAdxZQvbs=";
14 buildInputs = [ apacheHttpd python3 ncurses ];
17 substituteInPlace configure --replace '/usr/bin/lipo' 'lipo'
21 "LIBEXECDIR=$(out)/modules"
25 homepage = "https://github.com/GrahamDumpleton/mod_wsgi";
26 description = "Host Python applications in Apache through the WSGI interface";
27 license = lib.licenses.asl20;
28 platforms = lib.platforms.unix;