python311Packages.fire: fix tests

This commit is contained in:
Robert Schütz 2023-03-05 19:57:02 -08:00 committed by Robert Schütz
parent 938d9f5b39
commit cbb6abb802

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, six
, hypothesis
, mock
@ -24,6 +25,15 @@ buildPythonPackage rec {
hash = "sha256-cwY1RRNtpAn6LnBASQLTNf4XXSPnfhOa1WgglGEM2/s=";
};
patches = [
# https://github.com/google/python-fire/pull/440
(fetchpatch {
name = "remove-asyncio-coroutine.patch";
url = "https://github.com/google/python-fire/pull/440/commits/30b775a7b36ce7fbc04656c7eec4809f99d3e178.patch";
hash = "sha256-GDAAlvZKbJl3OhajsEO0SZvWIXcPDi3eNKKVgbwSNKk=";
})
];
propagatedBuildInputs = [
six
termcolor