Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mockito / default.nix
blob91c03c9cb6db7343dfa5d3d309afd0d2fbc9808a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , numpy
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "mockito";
12   version = "1.5.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-A2Eo2n2vLaiaC2N71zMh6ZL/ZbqKOYdsojPuwX63fo8=";
20   };
22   nativeBuildInputs = [
23     hatchling
24   ];
26   nativeCheckInputs = [
27     numpy
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "mockito" ];
33   meta = with lib; {
34     description = "Spying framework";
35     homepage = "https://github.com/kaste/mockito-python";
36     changelog = "https://github.com/kaste/mockito-python/blob/${version}/CHANGES.txt";
37     license = licenses.mit;
38     maintainers = [ ];
39   };