Files
nixpkgs/pkgs/development/python-modules/filebrowser-safe/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
1008 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
django,
pythonOlder,
}:
buildPythonPackage rec {
pname = "filebrowser-safe";
version = "1.1.1";
format = "setuptools";
disabled = pythonOlder "3.6";
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;
};
}