mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
python311Packages.manuel: fix by patching test
This commit is contained in:
parent
782a08984b
commit
5c84dd1881
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, python
|
||||
, isPy27
|
||||
, six
|
||||
, zope_testing
|
||||
@ -16,6 +18,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-A5Wq32mR+SSseVz61Z2l3AYYcyqMxYrQ9HSWWrco9/Q=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (lib.versionAtLeast python.version "3.11") [
|
||||
# https://github.com/benji-york/manuel/pull/32
|
||||
# Applying conditionally until upstream arrives at some general solution.
|
||||
(fetchpatch {
|
||||
name = "TextTestResult-python311.patch";
|
||||
url = "https://github.com/benji-york/manuel/commit/d9f12d03e39bb76e4bb3ba43ad51af6d3e9d45c0.diff";
|
||||
hash = "sha256-k0vBtxEixoI1INiKtc7Js3Ai00iGAcCvCFI1ZIBRPvQ=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
nativeCheckInputs = [ zope_testing ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user