mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
30 lines
638 B
Nix
30 lines
638 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tap.py";
|
|
version = "3.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3c0cd45212ad5a25b35445964e2517efa000a118a1bfc3437dae828892eaf1e1";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|