Skip to content

Commit

Permalink
Merge pull request #144937 from lostnet/couch321
Browse files Browse the repository at this point in the history
couchdb3: 3.2.0 -> 3.2.1
  • Loading branch information
marsam committed Nov 7, 2021
2 parents 8435e4c + 6f9c942 commit 412a725
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/servers/http/couchdb/3.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_78
, coreutils, bash, makeWrapper, python3 }:
, coreutils, bash, makeWrapper, python3, nixosTests }:

stdenv.mkDerivation rec {
pname = "couchdb";
version = "3.2.0";
version = "3.2.1";


# when updating this, please consider bumping the erlang/OTP version
# in all-packages.nix
src = fetchurl {
url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz";
sha256 = "035hy76399yy32rxl536gv7nh8ijihqxhhh5cxn95c3bm97mgslb";
sha256 = "1y5cfic88drlr9qiwyj2p8xc9m9hcbvw77j5lwbp0cav78f2vphi";
};

buildInputs = [ erlang icu openssl spidermonkey_78 (python3.withPackages(ps: with ps; [ requests ]))];
Expand All @@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
cp -r rel/couchdb/* $out
'';

passthru.tests = {
inherit (nixosTests) couchdb;
};

meta = with lib; {
description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API";
homepage = "http://couchdb.apache.org";
Expand Down

0 comments on commit 412a725

Please sign in to comment.