mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
h11: add pytest5 compatability
This commit is contained in:
parent
15f3e4eb81
commit
3bf75ee4cc
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, fetchpatch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "h11";
|
||||
|
@ -9,6 +9,14 @@ buildPythonPackage rec {
|
|||
sha256 = "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# pytest5 compatability
|
||||
(fetchpatch {
|
||||
url = https://github.com/python-hyper/h11/commit/241e220493a511a5f5a5d472cb88d72661a92ab1.patch;
|
||||
sha256 = "1s3ipf9s41m1lksws3xv3j133q7jnjdqvmgk4sfnm8q7li2dww39";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
Loading…
Reference in a new issue