2013-04-23 13:30:57 +02:00
|
|
|
{ stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-04-01 10:14:31 +02:00
|
|
|
name = "lighttpd-1.4.32";
|
2008-09-24 02:42:50 +02:00
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
src = fetchurl {
|
2013-04-01 10:14:31 +02:00
|
|
|
url = http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.xz;
|
|
|
|
sha256 = "1hgd9bi4mrak732h57na89lqg58b1kkchnddij9gawffd40ghs0k";
|
2008-09-24 02:42:50 +02:00
|
|
|
};
|
|
|
|
|
2013-04-23 13:30:57 +02:00
|
|
|
buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ];
|
|
|
|
|
|
|
|
configureFlags = "--with-openssl --with-openssl-libs=${openssl}";
|
2013-04-01 15:28:05 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
|
|
|
|
'';
|
2008-09-24 02:42:50 +02:00
|
|
|
|
2013-05-20 19:33:18 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Lightweight high-performance web server";
|
|
|
|
homepage = http://www.lighttpd.net/;
|
|
|
|
license = "BSD";
|
2013-05-20 19:33:18 +02:00
|
|
|
platforms = platforms.linux;
|
2013-05-21 09:20:00 +02:00
|
|
|
maintainers = [maintainers.bjornfor];
|
2008-09-24 02:42:50 +02:00
|
|
|
};
|
|
|
|
}
|