1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/servers/http/lighttpd/default.nix
2013-05-21 09:20:00 +02:00

27 lines
768 B
Nix

{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }:
stdenv.mkDerivation {
name = "lighttpd-1.4.32";
src = fetchurl {
url = http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.xz;
sha256 = "1hgd9bi4mrak732h57na89lqg58b1kkchnddij9gawffd40ghs0k";
};
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ];
configureFlags = "--with-openssl --with-openssl-libs=${openssl}";
preConfigure = ''
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
'';
meta = with stdenv.lib; {
description = "Lightweight high-performance web server";
homepage = http://www.lighttpd.net/;
license = "BSD";
platforms = platforms.linux;
maintainers = [maintainers.bjornfor];
};
}