effabb0950
svn path=/nixpkgs/trunk/; revision=17224
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls
|
|
, libxml2, zlib, texinfo, cppunit }:
|
|
|
|
let version = "0.9"; in
|
|
stdenv.mkDerivation rec {
|
|
name = "myserver-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/myserver/${version}/${name}.tar.bz2";
|
|
sha256 = "1fhqgxfyhw6kygbicddpn2575mp8ybck3yffscbw26xmjkpm7nxy";
|
|
};
|
|
|
|
patches = [ ./prefix.patch ./TESTS.patch ];
|
|
|
|
buildInputs = [ libgcrypt libevent libidn gnutls libxml2 zlib texinfo ]
|
|
++ stdenv.lib.optional doCheck cppunit;
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "GNU MyServer, a powerful and easy to configure web server";
|
|
|
|
longDescription = ''
|
|
GNU MyServer is a powerful and easy to configure web server. Its
|
|
multi-threaded architecture makes it extremely scalable and usable in
|
|
large scale sites as well as in small networks, it has a lot of
|
|
built-in features. Share your files in minutes!
|
|
'';
|
|
|
|
homepage = http://www.gnu.org/software/myserver/;
|
|
|
|
license = "GPLv3+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
# libevent fails to build on Cygwin and Guile has troubles on Darwin.
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
};
|
|
}
|