9 buildPythonPackage rec {
10 pname = "wagtail-factories";
12 format = "setuptools";
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 sha256 = "sha256-xNLHJ/8IZt3pzHAzr9swcL6GcIQyIjIFfoeHUW1i76U=";
21 propagatedBuildInputs = [
26 # Tests require wagtail which in turn requires wagtail-factories
27 # Note that pythonImportsCheck is not used because it requires a Django app
30 passthru.tests.wagtail-factories = callPackage ./tests.nix { };
33 description = "Factory boy classes for wagtail";
34 homepage = "https://github.com/wagtail/wagtail-factories";
35 changelog = "https://github.com/wagtail/wagtail-factories/blob/${version}/CHANGES";
36 license = licenses.mit;
37 maintainers = with maintainers; [ sephi ];