51 lines
926 B
Nix
51 lines
926 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
hatchling,
|
|
pyyaml,
|
|
more-itertools,
|
|
pytestCheckHook,
|
|
}:
|
|
let
|
|
version = "3.2.1";
|
|
in
|
|
buildPythonPackage {
|
|
pname = "tap.py";
|
|
inherit version;
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "tap_py";
|
|
inherit version;
|
|
hash = "sha256-0DyeavClb62ZTxxp8UBB5naBHXPu7vIL9Ad8Q9Yh1gg=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
];
|
|
|
|
optional-dependencies = {
|
|
yaml = [
|
|
pyyaml
|
|
more-itertools
|
|
];
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "tap" ];
|
|
|
|
meta = {
|
|
description = "Set of tools for working with the Test Anything Protocol (TAP) in Python";
|
|
homepage = "https://github.com/python-tap/tappy";
|
|
changelog = "https://tappy.readthedocs.io/en/latest/releases.html";
|
|
mainProgram = "tappy";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|