summary refs log tree commit diff
path: root/pkgs/servers/http/myserver/default.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-08-21 10:20:40 +0000
committerLudovic Courtès <ludo@gnu.org>2009-08-21 10:20:40 +0000
commit4ad3ea41073ee52011a30a7520c98d6034b486a5 (patch)
tree564ad3aa289870daacb2708c2cebe788b6b23a8e /pkgs/servers/http/myserver/default.nix
parenta56fecb1021085f88769497ebee6644a14f61b7a (diff)
downloadnixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar.gz
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar.bz2
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar.lz
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar.xz
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.tar.zst
nixpkgs-4ad3ea41073ee52011a30a7520c98d6034b486a5.zip
Add GNU MyServer.
svn path=/nixpkgs/trunk/; revision=16801
Diffstat (limited to 'pkgs/servers/http/myserver/default.nix')
-rw-r--r--pkgs/servers/http/myserver/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/servers/http/myserver/default.nix b/pkgs/servers/http/myserver/default.nix
new file mode 100644
index 00000000000..87bee922c82
--- /dev/null
+++ b/pkgs/servers/http/myserver/default.nix
@@ -0,0 +1,36 @@
+{ 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 ];
+    };
+  }