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