2023-03-30 22:05:00 +00:00
|
|
|
{ anyascii
|
|
|
|
, beautifulsoup4
|
|
|
|
, buildPythonPackage
|
|
|
|
, callPackage
|
|
|
|
, django
|
|
|
|
, django-filter
|
|
|
|
, django-modelcluster
|
|
|
|
, django-taggit
|
|
|
|
, django_treebeard
|
|
|
|
, djangorestframework
|
|
|
|
, draftjs-exporter
|
|
|
|
, fetchPypi
|
|
|
|
, html5lib
|
|
|
|
, l18n
|
|
|
|
, lib
|
|
|
|
, openpyxl
|
|
|
|
, permissionedforms
|
|
|
|
, pillow
|
|
|
|
, requests
|
|
|
|
, telepath
|
|
|
|
, willow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wagtail";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "4.2.2";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-s89gs3H//Dc3k6BLZUC4APyDgiWY9LetWAkI+kXQTf8=";
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django
|
|
|
|
django-modelcluster
|
|
|
|
django-taggit
|
|
|
|
django_treebeard
|
|
|
|
djangorestframework
|
|
|
|
django-filter
|
|
|
|
pillow
|
|
|
|
beautifulsoup4
|
|
|
|
html5lib
|
|
|
|
willow
|
|
|
|
requests
|
|
|
|
openpyxl
|
|
|
|
anyascii
|
|
|
|
draftjs-exporter
|
|
|
|
permissionedforms
|
|
|
|
telepath
|
|
|
|
l18n
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests are in separate derivation because they require a package that depends
|
|
|
|
# on wagtail (wagtail-factories)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.tests.wagtail = callPackage ./tests.nix {};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Django content management system focused on flexibility and user experience";
|
|
|
|
homepage = "https://github.com/wagtail/wagtail";
|
|
|
|
changelog = "https://github.com/wagtail/wagtail/blob/v${version}/CHANGELOG.txt";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ sephi ];
|
|
|
|
};
|
|
|
|
}
|