python3Packages.pytest-subprocess: init at 1.0.1
This commit is contained in:
parent
ff0886337b
commit
c69e6e52e8
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5198,6 +5198,8 @@ in {
|
|||||||
|
|
||||||
pyshark = callPackage ../development/python-modules/pyshark { };
|
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-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||||
|
|
||||||
python-csxcad = callPackage ../development/python-modules/python-csxcad { };
|
python-csxcad = callPackage ../development/python-modules/python-csxcad { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user