git.iko.soy/typeable/nixpkgs
on master help sign in
h11: add pytest5 compatability
3bf75eeFabian Möller
pkgs/development/python-modules/h11/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ lib, buildPythonPackage, fetchPypi, pytest }:
1+{ lib, buildPythonPackage, fetchPypi, pytest, fetchpatch }:
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "h11";
4 pname = "h11";
@@ -9,6 +9,14 @@ buildPythonPackage rec {
9 sha256 = "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k";
9 sha256 = "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k";
10 };
10 };
11
11
12+ patches = [
13+ # pytest5 compatability
14+ (fetchpatch {
15+ url = https://github.com/python-hyper/h11/commit/241e220493a511a5f5a5d472cb88d72661a92ab1.patch;
16+ sha256 = "1s3ipf9s41m1lksws3xv3j133q7jnjdqvmgk4sfnm8q7li2dww39";
17+ })
18+ ];
19+
12 checkInputs = [ pytest ];
20 checkInputs = [ pytest ];
13
21
14 checkPhase = ''
22 checkPhase = ''