summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/filebrowser-safe/default.nix
blob: 76b571db02e39696698015ed3607a79e417dcc09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  django,
}:

buildPythonPackage rec {
  pname = "filebrowser-safe";
  version = "1.1.1";
  format = "setuptools";

  src = fetchPypi {
    pname = "filebrowser_safe";
    inherit version;
    sha256 = "499c5dbd9e112dfc436cae7713b2fb664a59015021f6c9d131e3b7980aeb5c94";
  };

  buildInputs = [ django ];

  # There is no test embedded
  doCheck = false;

  meta = {
    description = "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.
    '';
    homepage = "https://github.com/stephenmcd/filebrowser-safe";
    downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ prikhi ];
    platforms = lib.platforms.unix;
  };
}