nixpkgs/pkgs/servers/http/spawn-fcgi/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
719 B
Nix

{ lib, stdenv, fetchsvn, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "spawn-fcgi";
version = "1.6.4";
src = fetchsvn {
url = "svn://svn.lighttpd.net/spawn-fcgi/tags/spawn-fcgi-${version}";
sha256 = "07r6nwbg4881mdgp0hqh80c4x9wb7jg6cgc84ghwhfbd2abc2iq5";
};
nativeBuildInputs = [ automake autoconf ];
preConfigure = ''
./autogen.sh
'';
meta = with lib; {
homepage = "https://redmine.lighttpd.net/projects/spawn-fcgi";
description = "Provides an interface to external programs that support the FastCGI interface";
mainProgram = "spawn-fcgi";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
platforms = with platforms; unix;
};
}