From 92e35493143a289870287651a8651e9714cf1abd Mon Sep 17 00:00:00 2001 From: Pavan Rikhi Date: Mon, 15 Dec 2014 04:02:35 -0500 Subject: [PATCH] filebrowser_safe: add expression --- pkgs/top-level/python-packages.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1930abd56b2..41bb035f640 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4076,6 +4076,35 @@ let }; }; + filebrowser_safe = buildPythonPackage rec { + version = "0.3.6"; + name = "filebrowser_safe-${version}"; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/f/filebrowser_safe/${name}.tar.gz"; + md5 = "12a1ad3a1ed6a9377e758c4fa7fee570"; + }; + + meta = with stdenv.lib; { + description = "A snapshot of django-filebrowser for the Mezzanine CMS"; + longDescription = '' + filebrowser_safe was created to provide a snapshot of the FileBrowser + asset manager for Django, to be referenced as a dependency for the + Mezzanine CMS for Django. + + At the time of filebrowser_safe's creation, FileBrowser was incorrectly + packaged on PyPI, and had also dropped compatibility with Django 1.1 - + filebrowser_safe was therefore created to address these specific + issues. + ''; + homepage = https://github.com/stephenmcd/filebrowser-safe; + downloadPage = https://pypi.python.org/pypi/filebrowser_safe/; + license = licenses.free; + maintainers = with maintainers; [ prikhi ]; + platforms = platforms.linux; + }; + }; + flake8 = buildPythonPackage (rec { name = "flake8-2.1.0";