summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/scripttest/default.nix
blob: 9fd6b8e88c2835ac2200d5853f51965ea4ea8f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytest,
}:

buildPythonPackage rec {
  pname = "scripttest";
  version = "2.0.post1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-pgZ/H+rfSy7T5ZSwsy5BWJZA5/o5dHZapj1QhSDAv9w=";
  };

  buildInputs = [ pytest ];

  # Tests are not included. See https://github.com/pypa/scripttest/issues/11
  doCheck = false;

  meta = {
    description = "Library for testing interactive command-line applications";
    homepage = "https://pypi.org/project/scripttest/";
    maintainers = [ ];
    license = lib.licenses.mit;
  };
}