blob: f77f5bdd71ea53b1d13458d8e95c77fea49bf456 (
about) (
plain)
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
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hpack";
version = "4.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "python-hyper";
repo = "hpack";
rev = "v${version}";
hash = "sha256-vbxfDlRDwMXuzkPO0oceCpSz1ekLNxLSj4iocdHo680=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "hpack" ];
meta = with lib; {
changelog = "https://github.com/python-hyper/hpack/blob/${src.rev}/CHANGELOG.rst";
description = "Pure-Python HPACK header compression";
homepage = "https://github.com/python-hyper/hpack";
license = licenses.mit;
maintainers = [ ];
};
}
|