blob: df23b4ec3c8ee2845afbfe83f7ab4639e503fb47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hpack";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-hyper";
repo = "hpack";
rev = "v${version}";
hash = "sha256-2CehGy3K5fKbkB1J8+8x1D4XvnBn1Mbapx+p8rdXDYc=";
};
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "hpack" ];
meta = with lib; {
description = "Pure-Python HPACK header compression";
homepage = "https://github.com/python-hyper/hpack";
license = licenses.mit;
maintainers = [ ];
};
}
|