python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / wagtail-factories / default.nix
blob03c2c09a23184632c375036d3e0aca9f399c4683
2   buildPythonPackage,
3   callPackage,
4   factory-boy,
5   fetchFromGitHub,
6   lib,
7   wagtail,
8 }:
10 buildPythonPackage rec {
11   pname = "wagtail-factories";
12   version = "4.2.1";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     repo = pname;
17     owner = "wagtail";
18     rev = "refs/tags/${version}";
19     sha256 = "sha256-jo8VwrmxHBJnORmuR6eTLrf/eupNL2vhXcw81EzfTxM=";
20   };
22   propagatedBuildInputs = [
23     factory-boy
24     wagtail
25   ];
27   # Tests require wagtail which in turn requires wagtail-factories
28   # Note that pythonImportsCheck is not used because it requires a Django app
29   doCheck = false;
31   passthru.tests.wagtail-factories = callPackage ./tests.nix { };
33   meta = with lib; {
34     description = "Factory boy classes for wagtail";
35     homepage = "https://github.com/wagtail/wagtail-factories";
36     changelog = "https://github.com/wagtail/wagtail-factories/blob/${version}/CHANGES";
37     license = licenses.mit;
38     maintainers = with maintainers; [ sephi ];
39   };