Merge pull request #325158 from jtbx-prs/fcgi-refactor
fcgi: refactor and adopt
This commit is contained in:
commit
4f09e16e66
@ -1,25 +1,26 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fcgi";
|
||||
version = "2.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FastCGI-Archives";
|
||||
repo = "fcgi2";
|
||||
rev = version;
|
||||
sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-4U/Mc2U7tK/fo4B9NBwYKzDuLApvSzWR4mqWzZ00H8o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
postInstall = "ln -s . $out/include/fastcgi";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Language independent, scalable, open extension to CG";
|
||||
meta = {
|
||||
description = "Language independent, scalable, open extension to CGI";
|
||||
homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
|
||||
license = "FastCGI see LICENSE.TERMS";
|
||||
license = "FastCGI, see LICENSE.TERMS";
|
||||
mainProgram = "cgi-fcgi";
|
||||
platforms = platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ jtbx ];
|
||||
};
|
||||
}
|
||||
})
|
@ -1,12 +0,0 @@
|
||||
diff --git a/libfcgi/fcgio.cpp b/libfcgi/fcgio.cpp
|
||||
index 95e28ca..a7eda0e 100644
|
||||
--- a/libfcgi/fcgio.cpp
|
||||
+++ b/libfcgi/fcgio.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
+#include <cstdio>
|
||||
#include "fcgio.h"
|
||||
|
||||
using std::streambuf;
|
@ -20454,8 +20454,6 @@ with pkgs;
|
||||
|
||||
fb303 = darwin.apple_sdk_11_0.callPackage ../development/libraries/fb303 { };
|
||||
|
||||
fcgi = callPackage ../development/libraries/fcgi { };
|
||||
|
||||
fcl = callPackage ../development/libraries/fcl { };
|
||||
|
||||
febio = callPackage ../development/libraries/febio { };
|
||||
|
Loading…
Reference in New Issue
Block a user