about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/scripttest/default.nix
blob: ab234ce2243432b56ac3a4373f6e53a96648e99d (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
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:

buildPythonPackage rec {
  version = "1.3";
  pname = "scripttest";

  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.python.org/pypi/ScriptTest/";
    license = licenses.mit;
  };

}