Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
934 B
Nix
48 lines
934 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
requests,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kiss-headers";
|
|
version = "2.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Ousret";
|
|
repo = "kiss-headers";
|
|
tag = version;
|
|
hash = "sha256-h0e7kFbn6qxIeSG85qetBg6IeSi/2YAaZLGS0+JH2g8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hatchling ];
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-cov-stub
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# Tests require internet access
|
|
"kiss_headers/__init__.py"
|
|
"tests/test_serializer.py"
|
|
"tests/test_with_http_request.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "kiss_headers" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python package for HTTP/1.1 style headers";
|
|
homepage = "https://github.com/Ousret/kiss-headers";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|