diff --git a/pkgs/servers/http/couchdb/default.nix b/pkgs/servers/http/couchdb/default.nix new file mode 100644 index 000000000000..0cfa52795119 --- /dev/null +++ b/pkgs/servers/http/couchdb/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, erlang, spidermonkey, icu}: + +stdenv.mkDerivation rec { + name = "apache-couchdb-0.8.1-incubating"; + src = fetchurl { + url = mirror://apache/incubator/couchdb/0.8.1-incubating/apache-couchdb-0.8.1-incubating.tar.gz; + sha256 = "0w59kl7p5mgym1cd7j2pji6fcjq0y7yabcx2hx43vrcyjw31azv4"; + }; + + buildInputs = [erlang spidermonkey icu]; + + configureFlags = "--with-erlang=${erlang}/lib/erlang/usr/include"; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ce15d38bb24f..faafef4861de 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4973,6 +4973,10 @@ let pam fetchsvn; }; + couchdb = import ../servers/http/couchdb { + inherit fetchurl stdenv erlang spidermonkey icu; + }; + fingerd_bsd = import ../servers/fingerd/bsd-fingerd { inherit fetchurl stdenv; };