Adding python3Packages.requests as dependecy

This commit is contained in:
Marek Mahut 2019-08-13 18:05:21 +02:00
parent 07a9c36ccf
commit 1b8da7d755

@ -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 = ''