Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "fcgi"; 5 version = "2.4.2"; 6 7 src = fetchFromGitHub { 8 owner = "FastCGI-Archives"; 9 repo = "fcgi2"; 10 rev = version; 11 sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 16 postInstall = "ln -s . $out/include/fastcgi"; 17 18 meta = with lib; { 19 description = "A language independent, scalable, open extension to CG"; 20 homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/ 21 license = "FastCGI see LICENSE.TERMS"; 22 mainProgram = "cgi-fcgi"; 23 platforms = platforms.all; 24 }; 25}