python3Packages.pytest-subprocess: init at 1.0.1

This commit is contained in:
Robert Schütz 2021-04-09 13:43:23 +02:00
parent ff0886337b
commit c69e6e52e8
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytest
, pytestCheckHook
, docutils
, pygments
}:
buildPythonPackage rec {
pname = "pytest-subprocess";
version = "1.0.1";
disabled = pythonOlder "3.4";
src = fetchFromGitHub {
owner = "aklajnert";
repo = "pytest-subprocess";
rev = version;
sha256 = "16ghwyv1vy45dd9cysjvcvvpm45958x071id2qrvgaziy2j6yx3j";
};
buildInputs = [
pytest
];
checkInputs = [
pytestCheckHook
docutils
pygments
];
disabledTests = [
"test_multiple_wait" # https://github.com/aklajnert/pytest-subprocess/issues/36
];
meta = with lib; {
description = "A plugin to fake subprocess for pytest";
homepage = "https://github.com/aklajnert/pytest-subprocess";
changelog = "https://github.com/aklajnert/pytest-subprocess/blob/${version}/HISTORY.rst";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -5198,6 +5198,8 @@ in {
pyshark = callPackage ../development/python-modules/pyshark { };
pytest-subprocess = callPackage ../development/python-modules/pytest-subprocess { };
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
python-csxcad = callPackage ../development/python-modules/python-csxcad { };