depot/third_party/nixpkgs/pkgs/development/python-modules/filebrowser_safe/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

40 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
version = "1.1.0";
pname = "filebrowser_safe";
src = fetchPypi {
inherit pname version;
sha256 = "14b6e0af9697f1d0f08508cc88bc8459273cd6453636cebe8504dccc80e926e4";
};
buildInputs = [ django ];
# There is no test embedded
doCheck = false;
meta = with lib; {
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;
};
}