python310Packages.pytest-mockito: init at 0.0.4

This commit is contained in:
Robert Schütz 2022-11-20 14:51:03 -08:00
parent 5608b9beb9
commit 16647a4379
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, mockito
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-mockito";
version = "0.0.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "kaste";
repo = "pytest-mockito";
rev = version;
hash = "sha256-vY/i1YV1lo4mZvnxsXBOyaq31YTiF0BY6PTVwdVX10I=";
};
buildInputs = [
pytest
];
propagatedBuildInputs = [
mockito
];
checkInputs = [
pytestCheckHook
];
meta = {
description = "Base fixtures for mockito";
homepage = "https://github.com/kaste/pytest-mockito";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -7059,6 +7059,8 @@ self: super: with self; {
pysyncthru = callPackage ../development/python-modules/pysyncthru { };
pytest-mockito = callPackage ../development/python-modules/pytest-mockito { };
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
python-crfsuite = callPackage ../development/python-modules/python-crfsuite { };