2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tap.py";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "3.1";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "3c0cd45212ad5a25b35445964e2517efa000a118a1bfc3437dae828892eaf1e1";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "tap" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/python-tap/tappy";
|
|
|
|
description = "A set of tools for working with the Test Anything Protocol (TAP) in Python";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
|
|
};
|
|
|
|
}
|