2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 19:54:07 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-10-16 22:51:22 +01:00
|
|
|
version = "0.5.0";
|
2018-10-16 19:54:07 +01:00
|
|
|
pname = "filebrowser_safe";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-16 22:51:22 +01:00
|
|
|
sha256 = "5dcd31dd79684025139b43841f6515af1da5a4bb0de15bc4d88003db1970648e";
|
2018-10-16 19:54:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django ];
|
|
|
|
|
|
|
|
# There is no test embedded
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 19:54:07 +01: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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/stephenmcd/filebrowser-safe";
|
|
|
|
downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
|
2018-10-16 19:54:07 +01:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ prikhi ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2018-10-16 19:54:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|