Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
774 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 = [ ];
};
}