evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / mock / default.nix
blob20c78bf4f18eb9221bd8f686f5986d050cdeca19
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "mock";
11   version = "5.1.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-Xpaq1czaRxjgointlLICTfdcwtVVdbpXYtMfV2e4dn0=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "mock" ];
25   meta = with lib; {
26     description = "Rolling backport of unittest.mock for all Pythons";
27     homepage = "https://github.com/testing-cabal/mock";
28     changelog = "https://github.com/testing-cabal/mock/blob/${version}/CHANGELOG.rst";
29     license = licenses.bsd2;
30     maintainers = [ ];
31   };