From 9afb8af2525f395faa73f3402516831f03011db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 14 Aug 2022 21:59:57 +0200 Subject: [PATCH] python3Packages.cattrs: fix build by upstreamed patch --- pkgs/development/python-modules/cattrs/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/cattrs/default.nix b/pkgs/development/python-modules/cattrs/default.nix index a6355e19884..6584f5f15df 100644 --- a/pkgs/development/python-modules/cattrs/default.nix +++ b/pkgs/development/python-modules/cattrs/default.nix @@ -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 ];