ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / h2 / default.nix
blob97ccb7b912063c16817f0e082d9fbdb36aa946b8
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , hpack
6 , hyperframe
7 , pytestCheckHook
8 , hypothesis
9 }:
11 buildPythonPackage rec {
12   pname = "h2";
13   version = "4.1.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "sha256-qDrKCPvnqst5/seIycC6yTY0NWDtnsGLgqE6EsKNKrs=";
21   };
23   propagatedBuildInputs = [
24     hpack
25     hyperframe
26   ];
28   checkInputs = [
29     pytestCheckHook
30     hypothesis
31   ];
33   pythonImportsCheck = [
34     "h2.connection"
35     "h2.config"
36   ];
38   meta = with lib; {
39     description = "HTTP/2 State-Machine based protocol implementation";
40     homepage = "https://github.com/python-hyper/h2";
41     license = licenses.mit;
42     maintainers = with maintainers; [ SuperSandro2000 ];
43   };