python3Packages.cattrs: fix build by upstreamed patch

This commit is contained in:
Vladimír Čunát 2022-08-14 21:59:57 +02:00
parent 409b1f1802
commit 9afb8af252
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -2,6 +2,7 @@
, attrs
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, exceptiongroup
, hypothesis
, immutables
@ -32,6 +33,14 @@ buildPythonPackage rec {
hash = "sha256-C8uIsewpgJfB1yYckWTwF5K32+2AAOrxFKB9I18RENg=";
};
patches = [
(fetchpatch {
url = "https://github.com/python-attrs/cattrs/commit/290d162a589acf10ea63b825b7b283e23ca7698a.diff";
excludes = [ "poetry.lock" ];
hash = "sha256-n6c3qVg9umGKAxeTALq3QTJgO9DIj3SY0ZHhtsDeW94=";
})
];
nativeBuildInputs = [
poetry-core
];