at 23.11-beta 91 lines 2.2 kB view raw
1{ lib 2, beautifulsoup4 3, bleach 4, buildPythonPackage 5, chardet 6, django 7, django-contrib-comments 8, fetchPypi 9, filebrowser_safe 10, future 11, grappelli-safe 12, isPyPy 13, pep8 14, pillow 15, pyflakes 16, pythonOlder 17, pytz 18, requests 19, requests-oauthlib 20, tzlocal 21}: 22 23buildPythonPackage rec { 24 pname = "mezzanine"; 25 version = "6.0.0"; 26 format = "setuptools"; 27 28 disabled = pythonOlder "3.7" || isPyPy; 29 30 src = fetchPypi { 31 pname = "Mezzanine"; 32 inherit version; 33 hash = "sha256-R/PB4PFQpVp6jnCasyPszgC294SKjLzq2oMkR2qV86s="; 34 }; 35 36 buildInputs = [ 37 pyflakes 38 pep8 39 ]; 40 41 propagatedBuildInputs = [ 42 beautifulsoup4 43 bleach 44 chardet 45 django 46 django-contrib-comments 47 filebrowser_safe 48 future 49 grappelli-safe 50 pillow 51 pytz 52 requests 53 requests-oauthlib 54 tzlocal 55 ] ++ bleach.optional-dependencies.css; 56 57 # Tests Fail Due to Syntax Warning, Fixed for v3.1.11+ 58 doCheck = false; 59 60 # sed calls will be unnecessary in v3.1.11+ 61 preConfigure = '' 62 sed -i 's/==/>=/' setup.py 63 ''; 64 65 LC_ALL = "en_US.UTF-8"; 66 67 meta = with lib; { 68 description = "Content management platform built using the Django framework"; 69 longDescription = '' 70 Mezzanine is a powerful, consistent, and flexible content 71 management platform. Built using the Django framework, Mezzanine 72 provides a simple yet highly extensible architecture that 73 encourages diving in and hacking on the code. Mezzanine is BSD 74 licensed and supported by a diverse and active community. 75 76 In some ways, Mezzanine resembles tools such as Wordpress that 77 provide an intuitive interface for managing pages, blog posts, 78 form data, store products, and other types of content. But 79 Mezzanine is also different. Unlike many other platforms that 80 make extensive use of modules or reusable applications, 81 Mezzanine provides most of its functionality by default. This 82 approach yields a more integrated and efficient platform. 83 ''; 84 homepage = "http://mezzanine.jupo.org/"; 85 downloadPage = "https://github.com/stephenmcd/mezzanine/releases"; 86 license = licenses.bsd2; 87 maintainers = with maintainers; [ prikhi ]; 88 platforms = platforms.unix; 89 }; 90} 91