1{ lib
2, buildPythonPackage
3, fetchPypi
4, django
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "filebrowser-safe";
10 version = "1.1.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 pname = "filebrowser_safe";
17 inherit version;
18 sha256 = "499c5dbd9e112dfc436cae7713b2fb664a59015021f6c9d131e3b7980aeb5c94";
19 };
20
21 buildInputs = [
22 django
23 ];
24
25 # There is no test embedded
26 doCheck = false;
27
28 meta = with lib; {
29 description = "A snapshot of django-filebrowser for the Mezzanine CMS";
30 longDescription = ''
31 filebrowser_safe was created to provide a snapshot of the
32 FileBrowser asset manager for Django, to be referenced as a
33 dependency for the Mezzanine CMS for Django.
34 '';
35 homepage = "https://github.com/stephenmcd/filebrowser-safe";
36 downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ prikhi ];
39 platforms = platforms.unix;
40 };
41
42}