nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 795 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatch-vcs, 6 hatchling, 7 pytest, 8 mockito, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "pytest-mockito"; 14 version = "0.0.5"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "kaste"; 19 repo = "pytest-mockito"; 20 rev = version; 21 hash = "sha256-GX3esFlMtKRCTjvTPS4jrnK/mV9eIENvDXRo5sOqBGc="; 22 }; 23 24 build-system = [ 25 hatch-vcs 26 hatchling 27 ]; 28 29 buildInputs = [ pytest ]; 30 31 dependencies = [ mockito ]; 32 33 pythonImportsCheck = [ "pytest_mockito" ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 meta = { 38 description = "Base fixtures for mockito"; 39 homepage = "https://github.com/kaste/pytest-mockito"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ dotlambda ]; 42 }; 43}