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