nixpkgs/pkgs/development/python-modules/hpack/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

37 lines
691 B
Nix

{
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 = [ ];
};
}