2009-08-21 11:20:40 +01:00
|
|
|
{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls
|
2010-02-16 10:48:06 +00:00
|
|
|
, libxml2, zlib, texinfo, cppunit, xz }:
|
2009-08-21 11:20:40 +01:00
|
|
|
|
2010-02-16 10:48:06 +00:00
|
|
|
let version = "0.9.2"; in
|
2009-08-21 11:20:40 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "myserver-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-02-16 10:48:06 +00:00
|
|
|
url = "mirror://gnu/myserver/${version}/${name}.tar.xz";
|
|
|
|
sha256 = "110001ssyrvmvqrkxbz09a5m945ahh478v1l7aq31gh1l9j0cf6n";
|
2009-08-21 11:20:40 +01:00
|
|
|
};
|
|
|
|
|
2010-02-16 10:48:06 +00:00
|
|
|
patches = [ ./tests-in-chroot.patch ];
|
2009-08-21 11:20:40 +01:00
|
|
|
|
2010-02-16 10:48:06 +00:00
|
|
|
buildInputs = [ libgcrypt libevent libidn gnutls libxml2 zlib texinfo xz ]
|
2009-08-21 11:20:40 +01:00
|
|
|
++ 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 ];
|
2009-09-17 11:33:09 +01:00
|
|
|
|
|
|
|
# libevent fails to build on Cygwin and Guile has troubles on Darwin.
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2009-08-21 11:20:40 +01:00
|
|
|
};
|
|
|
|
}
|