1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
38 lines
960 B
Nix
38 lines
960 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
django,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "filebrowser-safe";
|
|
version = "1.1.1";
|
|
format = "setuptools";
|
|
|
|
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;
|
|
};
|
|
}
|