From 07a9c36ccf6a31b5c0b0a2c4f64b0c3a67ff948f Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sat, 3 Aug 2019 17:34:19 -0700 Subject: [PATCH 1/2] couchdb2: 2.3.0 -> 2.3.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/couchdb/versions --- pkgs/servers/http/couchdb/2.0.0.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/couchdb/2.0.0.nix b/pkgs/servers/http/couchdb/2.0.0.nix index cb630c26688..e0fbd8e9f34 100644 --- a/pkgs/servers/http/couchdb/2.0.0.nix +++ b/pkgs/servers/http/couchdb/2.0.0.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { name = "couchdb-${version}"; - version = "2.3.0"; + version = "2.3.1"; # when updating this, please consider bumping the OTP version # in all-packages.nix src = fetchurl { url = "mirror://apache/couchdb/source/${version}/apache-${name}.tar.gz"; - sha256 = "0lpk64n6fip85j1jz59kq20jdliwv6mh8j2h5zyxjn5i8b86hf0b"; + sha256 = "0z926hjqyhxhyr65kqxwpmp80nyfqbig6d9dy8dqflpb87n8rss3"; }; nativeBuildInputs = [ makeWrapper ]; From 1b8da7d755d656f17c733675ccd4e02c5b89ab81 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Tue, 13 Aug 2019 18:05:21 +0200 Subject: [PATCH 2/2] Adding python3Packages.requests as dependecy --- pkgs/servers/http/couchdb/2.0.0.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/couchdb/2.0.0.nix b/pkgs/servers/http/couchdb/2.0.0.nix index e0fbd8e9f34..b3c4abfed90 100644 --- a/pkgs/servers/http/couchdb/2.0.0.nix +++ b/pkgs/servers/http/couchdb/2.0.0.nix @@ -1,10 +1,11 @@ { stdenv, fetchurl, erlang, icu, openssl, spidermonkey -, coreutils, bash, makeWrapper }: +, coreutils, bash, makeWrapper, python3 }: stdenv.mkDerivation rec { name = "couchdb-${version}"; version = "2.3.1"; + # when updating this, please consider bumping the OTP version # in all-packages.nix src = fetchurl { @@ -13,7 +14,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ erlang icu openssl spidermonkey ]; + buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))]; patches = [ ./jsapi.patch ]; postPatch = ''