2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
2022-01-07 04:07:37 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "filebrowser-safe";
|
|
|
|
version = "1.1.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "filebrowser_safe";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "499c5dbd9e112dfc436cae7713b2fb664a59015021f6c9d131e3b7980aeb5c94";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
buildInputs = [
|
|
|
|
django
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# There is no test embedded
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/stephenmcd/filebrowser-safe";
|
|
|
|
downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
|
2022-01-07 04:07:37 +00:00
|
|
|
license = licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|