about summary refs log tree commit diff
path: root/pkgs/development/python-modules/h2
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-29 11:25:18 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2020-12-01 14:44:23 +0100
commit640b5de8adcf67de8a3dc2643642127555fe15d5 (patch)
tree4d380558a6f7097bf2a4e631891987b540c7b068 /pkgs/development/python-modules/h2
parentc2b7ad587c05a7502ec6f0f56d042b1c19f63371 (diff)
python37Packages.h2: fix tests
Diffstat (limited to 'pkgs/development/python-modules/h2')
-rw-r--r--pkgs/development/python-modules/h2/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/h2/default.nix b/pkgs/development/python-modules/h2/default.nix
index a75b7ededb7c8..7597abbe0f9e1 100644
--- a/pkgs/development/python-modules/h2/default.nix
+++ b/pkgs/development/python-modules/h2/default.nix
@@ -1,5 +1,5 @@
 { stdenv, buildPythonPackage, fetchPypi
-, enum34, hpack, hyperframe }:
+, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
 
 buildPythonPackage rec {
   pname = "h2";
@@ -12,6 +12,8 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ enum34 hpack hyperframe ];
 
+  checkInputs = [ pytestCheckHook hypothesis ];
+
   meta = with stdenv.lib; {
     description = "HTTP/2 State-Machine based protocol implementation";
     homepage = "http://hyper.rtfd.org/";