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