evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / model-bakery / default.nix
blob2a3a02e483dab1619c1666281c306233e02a6497
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   hatchling,
6   django,
7   pytestCheckHook,
8   pythonOlder,
9   pytest-django,
12 buildPythonPackage rec {
13   pname = "model-bakery";
14   version = "1.20.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "model-bakers";
21     repo = "model_bakery";
22     rev = "refs/tags/${version}";
23     hash = "sha256-71c5p6FypqbwUUoYu4dTamYnBlks1fiXTp7dUfc0ZQs=";
24   };
26   build-system = [ hatchling ];
28   dependencies = [ django ];
30   nativeCheckInputs = [
31     pytest-django
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "model_bakery" ];
37   meta = with lib; {
38     description = "Object factory for Django";
39     homepage = "https://github.com/model-bakers/model_bakery";
40     changelog = "https://github.com/model-bakers/model_bakery/blob/${version}/CHANGELOG.md";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ fab ];
43   };