From ffd1f5000b9f242eec99ba6ee5fb7d60fb8aa041 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Wed, 24 Sep 2008 00:42:50 +0000 Subject: [PATCH] added lighthttpd svn path=/nixpkgs/trunk/; revision=12907 --- pkgs/servers/http/lighttpd/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/servers/http/lighttpd/default.nix diff --git a/pkgs/servers/http/lighttpd/default.nix b/pkgs/servers/http/lighttpd/default.nix new file mode 100644 index 00000000000..5cea1e14548 --- /dev/null +++ b/pkgs/servers/http/lighttpd/default.nix @@ -0,0 +1,17 @@ +args: +args.stdenv.mkDerivation { + name = "lighttpd-1.4.19"; + + src = args.fetchurl { + url = http://www.lighttpd.net/download/lighttpd-1.4.19.tar.bz2; + sha256 = "1mziqb36ik9z4lf1h5ccm1h4ab7d2hx0cz0g5425lwy374r34fd2"; + }; + + buildInputs =(with args; [pcre libxml2 zlib attr bzip2]); + + meta = { + description = "Lightweight high-performance web server"; + homepage = http://www.lighttpd.net/; + license = "BSD"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2a43e9843c8..93615071732 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4681,6 +4681,10 @@ let inherit fetchurl stdenv unzip; }; + lighttpd = import ../servers/http/lighttpd { + inherit fetchurl stdenv pcre libxml2 zlib attr bzip2; + }; + mod_python = import ../servers/http/apache-modules/mod_python { inherit fetchurl stdenv apacheHttpd python; };