Commit cbb6abb8 authored by Robert Schütz's avatar Robert Schütz Committed by Robert Schütz
Browse files

python311Packages.fire: fix tests

parent 938d9f5b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ 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