evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / mongomock / default.nix
blob608422286622d7c654ec977dc68ee47197bff6c6
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   hatch-vcs,
6   hatchling,
7   packaging,
8   pytestCheckHook,
9   pythonOlder,
10   pytz,
11   sentinels,
14 buildPythonPackage rec {
15   pname = "mongomock";
16   version = "4.2.0.post1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-kkHSzscnS5c22+jtrLGVKP9mrzs3ebMk157MQgEifzE=";
24   };
26   build-system = [
27     hatch-vcs
28     hatchling
29   ];
31   dependencies = [
32     packaging
33     pytz
34     sentinels
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "mongomock" ];
41   meta = with lib; {
42     description = "Fake pymongo stub for testing simple MongoDB-dependent code";
43     homepage = "https://github.com/mongomock/mongomock";
44     changelog = "https://github.com/mongomock/mongomock/blob/${version}/CHANGELOG.md";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ gador ];
47   };