about summary refs log tree commit diff
path: root/pkgs/development/python-modules/scripttest/default.nix
blob: 452b17c8a14259ba0500e521dc65104903175051 (plain) (blame)
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 = "1.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "951cfc25219b0cd003493a565f2e621fd791beaae9f9a3bdd7024d8626419c38";
  };

  buildInputs = [ pytest ];

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

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