2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "1.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "filebrowser_safe";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "1209a26abd5a085a6453e020513fd94e920bde3908a2bcf3fe0ad5e4292b943b";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django ];
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/stephenmcd/filebrowser-safe";
|
|
|
|
downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
|
|
|
|
license = licenses.free;
|
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|