1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "tap.py";
10 version = "3.1";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "3c0cd45212ad5a25b35445964e2517efa000a118a1bfc3437dae828892eaf1e1";
17 };
18
19 nativeCheckInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "tap" ];
22
23 meta = with lib; {
24 description = "A set of tools for working with the Test Anything Protocol (TAP) in Python";
25 homepage = "https://github.com/python-tap/tappy";
26 changelog = "https://tappy.readthedocs.io/en/latest/releases.html";
27 license = licenses.bsd2;
28 maintainers = with maintainers; [ sfrijters ];
29 };
30}