Adding python3Packages.requests as dependecy
This commit is contained in:
parent
07a9c36ccf
commit
1b8da7d755
@ -1,10 +1,11 @@
|
|||||||
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey
|
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey
|
||||||
, coreutils, bash, makeWrapper }:
|
, coreutils, bash, makeWrapper, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "couchdb-${version}";
|
name = "couchdb-${version}";
|
||||||
version = "2.3.1";
|
version = "2.3.1";
|
||||||
|
|
||||||
|
|
||||||
# when updating this, please consider bumping the OTP version
|
# when updating this, please consider bumping the OTP version
|
||||||
# in all-packages.nix
|
# in all-packages.nix
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ erlang icu openssl spidermonkey ];
|
buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))];
|
||||||
|
|
||||||
patches = [ ./jsapi.patch ];
|
patches = [ ./jsapi.patch ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user