python310Packages.hypothesis-auto: use poetry-core
This commit is contained in:
parent
857e8c001b
commit
84ed05ea4c
1 changed files with 11 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, hypothesis
|
||||
, poetry
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest
|
||||
, pythonOlder
|
||||
|
@ -20,6 +21,14 @@ buildPythonPackage rec {
|
|||
hash = "sha256-XiwvsJ3AmEJRLYBjC7eSNZodM9LARzrUfuI9oL6eMrE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "switch-to-poetry-core.patch";
|
||||
url = "https://github.com/timothycrosley/hypothesis-auto/commit/8277b4232617c0433f80e9c2844452b9fae67a65.patch";
|
||||
hash = "sha256-/0z0nphtQnUBiLYhhzLZT59kQgktSugaBg+ePNxy0qI=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/timothycrosley/hypothesis-auto/pull/20
|
||||
substituteInPlace pyproject.toml \
|
||||
|
@ -28,7 +37,7 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue