Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
774 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ 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 = [ ]; };}