ed0c4a69f0
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ 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";
|
|
version = "4.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-VUdVG2YHfH1Q3QGx8Gvg2DuJolxlq6REZmn8fG8xgxw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|