depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-mockito/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
685 B
Nix

{
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 ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Base fixtures for mockito";
homepage = "https://github.com/kaste/pytest-mockito";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}