10 buildPythonPackage rec {
11 pname = "wagtail-factories";
13 format = "setuptools";
15 src = fetchFromGitHub {
18 rev = "refs/tags/${version}";
19 sha256 = "sha256-jo8VwrmxHBJnORmuR6eTLrf/eupNL2vhXcw81EzfTxM=";
22 propagatedBuildInputs = [
27 # Tests require wagtail which in turn requires wagtail-factories
28 # Note that pythonImportsCheck is not used because it requires a Django app
31 passthru.tests.wagtail-factories = callPackage ./tests.nix { };
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 ];