841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
41 lines
830 B
Nix
41 lines
830 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytest
|
|
, pytestCheckHook
|
|
, docutils
|
|
, pygments
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-subprocess";
|
|
version = "1.1.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aklajnert";
|
|
repo = "pytest-subprocess";
|
|
rev = version;
|
|
sha256 = "sha256-o8wDZhNHGPV1BQ5Zi2kFNlWq5w0cqebaJUhUUwTK6So=";
|
|
};
|
|
|
|
buildInputs = [
|
|
pytest
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
docutils
|
|
pygments
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|