python3Packages.poetry: 1.1.14 -> 1.1.15, fix build
This commit is contained in:
parent
8d45a968d0
commit
5869be5103
@ -24,7 +24,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "poetry";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
format = "pyproject";
|
||||
disabled = isPy27;
|
||||
|
||||
@ -32,13 +32,14 @@ buildPythonPackage rec {
|
||||
owner = "python-poetry";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0lx3qpz5dad0is7ki5a4vxphvc8cm8fnv4bmrx226a6nvvaj6ahs";
|
||||
sha256 = "sha256-DgIDtwL7R/oipcU7BMt31+ImgiQ9/9noNVNdpm+OZi8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'importlib-metadata = {version = "^1.6.0", python = "<3.8"}' \
|
||||
'importlib-metadata = {version = ">=1.6,<2", python = "<3.8"}'
|
||||
'importlib-metadata = {version = ">=1.6,<2", python = "<3.8"}' \
|
||||
--replace 'version = "^21.2.0"' 'version = ">=21.2"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ intreehooks ];
|
||||
|
Loading…
Reference in New Issue
Block a user