depot/third_party/nixpkgs/pkgs/development/python-modules/scripttest/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
578 B
Nix

{ lib
, 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;
};
}