1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 pname = "scripttest"; 10 version = "2.0.post1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-pgZ/H+rfSy7T5ZSwsy5BWJZA5/o5dHZapj1QhSDAv9w="; 16 }; 17 18 buildInputs = [ pytest ]; 19 20 # Tests are not included. See https://github.com/pypa/scripttest/issues/11 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Library for testing interactive command-line applications"; 25 homepage = "https://pypi.org/project/scripttest/"; 26 maintainers = [ ]; 27 license = licenses.mit; 28 }; 29}