uwsgi: build with PCRE support (#50896)

(#50896)
This commit is contained in:
Renaud 2018-11-21 23:44:59 +01:00 committed by GitHub
parent 8a3693b207
commit 0028f5de89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig, jansson
{ stdenv, lib, fetchurl, pkgconfig, jansson, pcre
# plugins: list of strings, eg. [ "python2" "python3" ]
, plugins
, pam, withPAM ? false
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ python3 pkgconfig ];
buildInputs = [ jansson ]
buildInputs = [ jansson pcre ]
++ lib.optional withPAM pam
++ lib.optional withSystemd systemd
++ lib.concatMap (x: x.inputs) needed
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_LINK = [ "-lsystemd" ] ++ lib.concatMap (x: x.NIX_CFLAGS_LINK or []) needed;
meta = with stdenv.lib; {
homepage = http://uwsgi-docs.readthedocs.org/en/latest/;
homepage = https://uwsgi-docs.readthedocs.org/en/latest/;
description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C";
license = licenses.gpl2;
maintainers = with maintainers; [ abbradar schneefux ];