depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-mockito/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

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