diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-08 17:58:34 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-08 17:59:02 +0200 |
commit | 8a7f3c36185ddb801372b3461ff65109978ab46b (patch) | |
tree | 16add7a3bfb07c234167494755c6d9be7ba11d38 /pkgs/servers/http | |
parent | 66fb10ecb58f3231abfe11c27dce95dbef9ac5d4 (diff) | |
download | nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar.gz nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar.bz2 nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar.lz nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar.xz nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.tar.zst nixlib-8a7f3c36185ddb801372b3461ff65109978ab46b.zip |
Mark a bunch of packages as broken or not supported on Darwin
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/myserver/default.nix | 69 |
1 files changed, 33 insertions, 36 deletions
diff --git a/pkgs/servers/http/myserver/default.nix b/pkgs/servers/http/myserver/default.nix index a86f924346bc..3e1c94e79b4b 100644 --- a/pkgs/servers/http/myserver/default.nix +++ b/pkgs/servers/http/myserver/default.nix @@ -1,53 +1,50 @@ -{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls +{ lib, fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls , libxml2, zlib, guile, texinfo, cppunit, psmisc }: let version = "0.11"; in - stdenv.mkDerivation (rec { - name = "myserver-${version}"; - src = fetchurl { - url = "mirror://gnu/myserver/${version}/${name}.tar.xz"; - sha256 = "02y3vv4hxpy5h710y79s8ipzshhc370gbz1wm85x0lnq5nqxj2ax"; - }; +stdenv.mkDerivation rec { + name = "myserver-${version}"; - patches = - [ ./disable-dns-lookup-in-chroot.patch ]; + src = fetchurl { + url = "mirror://gnu/myserver/${version}/${name}.tar.xz"; + sha256 = "02y3vv4hxpy5h710y79s8ipzshhc370gbz1wm85x0lnq5nqxj2ax"; + }; - buildInputs = - [ libgcrypt libevent libidn gnutls libxml2 zlib guile texinfo ] - ++ stdenv.lib.optional doCheck cppunit; + patches = + [ ./disable-dns-lookup-in-chroot.patch ]; - makeFlags = [ "V=1" ]; + buildInputs = + [ libgcrypt libevent libidn gnutls libxml2 zlib guile texinfo ] + ++ lib.optional doCheck cppunit; - doCheck = true; + makeFlags = [ "V=1" ]; - enableParallelBuilding = true; + doCheck = true; - meta = { - description = "GNU MyServer, a powerful and easy to configure web server"; + enableParallelBuilding = true; - 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! - ''; + # On GNU/Linux the `test_suite' process sometimes stays around, so + # forcefully terminate it. + postCheck = lib.optionalString stdenv.isLinux "${psmisc}/bin/killall test_suite || true"; - homepage = http://www.gnu.org/software/myserver/; + meta = { + description = "GNU MyServer, a powerful and easy to configure web server"; - license = stdenv.lib.licenses.gpl3Plus; + 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! + ''; - maintainers = [ ]; + homepage = http://www.gnu.org/software/myserver/; - # libevent fails to build on Cygwin and Guile has troubles on Darwin. - platforms = stdenv.lib.platforms.gnu; - }; - } + license = lib.licenses.gpl3Plus; - // + # libevent fails to build on Cygwin and Guile has troubles on Darwin. + platforms = lib.platforms.gnu; - # On GNU/Linux the `test_suite' process sometimes stays around, so - # forcefully terminate it. - (if stdenv.isLinux - then { postCheck = "${psmisc}/bin/killall test_suite || true"; } - else { })) + broken = true; # needs patch for gets() + }; +} |