aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/poetry/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/poetry/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/poetry/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/poetry/default.nix b/nixpkgs/pkgs/development/python-modules/poetry/default.nix
index d7e2a1db2ff..52be2c3bafc 100644
--- a/nixpkgs/pkgs/development/python-modules/poetry/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/poetry/default.nix
@@ -10,6 +10,7 @@
, pkginfo
, html5lib
, shellingham
+, subprocess32
, tomlkit
, typing
, pathlib2
@@ -43,7 +44,8 @@ in buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py --replace \
"requests-toolbelt>=0.8.0,<0.9.0" \
- "requests-toolbelt>=0.8.0,<0.10.0"
+ "requests-toolbelt>=0.8.0,<0.10.0" \
+ --replace 'pyrsistent>=0.14.2,<0.15.0' 'pyrsistent>=0.14.2,<0.16.0'
'';
format = "pyproject";
@@ -62,7 +64,7 @@ in buildPythonPackage rec {
shellingham
tomlkit
] ++ lib.optionals (isPy27 || isPy34) [ typing pathlib2 glob2 ]
- ++ lib.optionals isPy27 [ virtualenv functools32 ];
+ ++ lib.optionals isPy27 [ virtualenv functools32 subprocess32 ];
postInstall = ''
mkdir -p "$out/share/bash-completion/completions"