1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5}:
6
7buildPythonPackage rec {
8 version = "1.3";
9 pname = "scripttest";
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.python.org/pypi/ScriptTest/";
24 license = licenses.mit;
25 };
26
27}