Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ anyascii 2, beautifulsoup4 3, buildPythonPackage 4, callPackage 5, django 6, django-filter 7, django-modelcluster 8, django-taggit 9, django_treebeard 10, djangorestframework 11, draftjs-exporter 12, fetchPypi 13, html5lib 14, l18n 15, lib 16, openpyxl 17, permissionedforms 18, pillow 19, requests 20, telepath 21, willow 22}: 23 24buildPythonPackage rec { 25 pname = "wagtail"; 26 version = "4.2.2"; 27 28 src = fetchPypi { 29 inherit pname version; 30 sha256 = "sha256-s89gs3H//Dc3k6BLZUC4APyDgiWY9LetWAkI+kXQTf8="; 31 }; 32 33 postPatch = '' 34 substituteInPlace setup.py \ 35 --replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" 36 ''; 37 38 propagatedBuildInputs = [ 39 django 40 django-modelcluster 41 django-taggit 42 django_treebeard 43 djangorestframework 44 django-filter 45 pillow 46 beautifulsoup4 47 html5lib 48 willow 49 requests 50 openpyxl 51 anyascii 52 draftjs-exporter 53 permissionedforms 54 telepath 55 l18n 56 ]; 57 58 # Tests are in separate derivation because they require a package that depends 59 # on wagtail (wagtail-factories) 60 doCheck = false; 61 62 passthru.tests.wagtail = callPackage ./tests.nix {}; 63 64 meta = with lib; { 65 description = "A Django content management system focused on flexibility and user experience"; 66 homepage = "https://github.com/wagtail/wagtail"; 67 changelog = "https://github.com/wagtail/wagtail/blob/v${version}/CHANGELOG.txt"; 68 license = licenses.bsd3; 69 maintainers = with maintainers; [ sephi ]; 70 }; 71}