git.iko.soy/typeable/nixpkgs
on master help sign in
mezzanine: add expression
commitb5ff6c2c62b509eda1b5534d04dbf88369a25dcb authorPavan Rikhi <pavan.rikhi+agit@gmail.com> dateMon 15 Dec 2014, 04:03 (12 years ago) parente41656f
1 file changed+52
pkgs/top-level/python-packages.nix+52
pkgs/top-level/python-packages.nix+52
@@ -5587,6 +5587,58 @@ let
55875587 };
55885588 };
55895589
5590+ mezzanine = buildPythonPackage rec {
5591+ version = "3.1.10";
5592+ name = "mezzanine-${version}";
5593+
5594+ src = pkgs.fetchurl {
5595+ url = "https://github.com/stephenmcd/mezzanine/archive/${version}.tar.gz";
5596+ sha256 = "1cd7d3dji8q4mvcnf9asxn8j109pd5g5d5shr6xvn0iwr35qprgi";
5597+ };
5598+
5599+ buildInputs = with self; [ pyflakes pep8 ];
5600+ propagatedBuildInputs = with self; [
5601+ django_1_6 filebrowser_safe grappelli_safe bleach tzlocal beautifulsoup4
5602+ requests2 requests_oauthlib future pillow modules.sqlite3
5603+ ];
5604+
5605+ # Tests Fail Due to Syntax Warning, Fixed for v3.1.11+
5606+ doCheck = false;
5607+ # sed calls will be unecessary in v3.1.11+
5608+ preConfigure = ''
5609+ sed -i 's/future == 0.9.0/future>=0.9.0/' setup.py
5610+ sed -i 's/tzlocal == 1.0/tzlocal>=1.0/' setup.py
5611+ sed -i 's/pep8==1.4.1/pep8>=1.4.1/' setup.py
5612+ sed -i 's/pyflakes==0.6.1/pyflakes>=0.6.1/' setup.py
5613+ export LC_ALL="en_US.UTF-8"
5614+ '';
5615+
5616+ meta = with stdenv.lib; {
5617+ description = ''
5618+ A content management platform built using the Django framework.
5619+ '';
5620+ longDescription = ''
5621+ Mezzanine is a powerful, consistent, and flexible content management
5622+ platform. Built using the Django framework, Mezzanine provides a
5623+ simple yet highly extensible architecture that encourages diving in and
5624+ hacking on the code. Mezzanine is BSD licensed and supported by a
5625+ diverse and active community.
5626+
5627+ In some ways, Mezzanine resembles tools such as Wordpress that provide
5628+ an intuitive interface for managing pages, blog posts, form data, store
5629+ products, and other types of content. But Mezzanine is also different.
5630+ Unlike many other platforms that make extensive use of modules or
5631+ reusable applications, Mezzanine provides most of its functionality by
5632+ default. This approach yields a more integrated and efficient platform.
5633+ '';
5634+ homepage = http://mezzanine.jupo.org/;
5635+ downloadPage = https://github.com/stephenmcd/mezzanine/releases;
5636+ license = licenses.free;
5637+ maintainers = with maintainers; [ prikhi ];
5638+ platforms = platforms.linux;
5639+ };
5640+ };
5641+
55905642 minimock = buildPythonPackage rec {
55915643 version = "1.2.8";
55925644 name = "minimock-${version}";