Merge pull request #259732 from natsukium/grappelli-safe

python311Packages.grappelli-safe: rename from grappelli_safe
This commit is contained in:
Martin Weinelt
2023-10-11 02:15:53 +02:00
committed by GitHub
4 changed files with 26 additions and 9 deletions
@@ -1,17 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
version = "1.1.1";
pname = "grappelli_safe";
pname = "grappelli-safe";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "ee34b3e2a3711498b1f8da3d9daa8a1239efdf255a212181742b6a5890fac039";
pname = "grappelli_safe";
inherit version;
hash = "sha256-7jSz4qNxFJix+No9naqKEjnv3yVaISGBdCtqWJD6wDk=";
};
nativeBuildInputs = [
setuptools
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"grappelli_safe"
];
meta = with lib; {
description = "A snapshot of django-grappelli for the Mezzanine CMS";
longDescription = ''
@@ -26,9 +43,8 @@ buildPythonPackage rec {
'';
homepage = "https://github.com/stephenmcd/grappelli-safe";
downloadPage = "http://pypi.python.org/pypi/grappelli_safe/";
license = licenses.free;
changelog = "https://github.com/stephenmcd/grappelli-safe/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ prikhi ];
platforms = platforms.unix;
};
}
@@ -8,7 +8,7 @@
, fetchPypi
, filebrowser_safe
, future
, grappelli_safe
, grappelli-safe
, isPyPy
, pep8
, pillow
@@ -46,7 +46,7 @@ buildPythonPackage rec {
django-contrib-comments
filebrowser_safe
future
grappelli_safe
grappelli-safe
pillow
pytz
requests
+1
View File
@@ -169,6 +169,7 @@ mapAliases ({
gpyopt = throw "gpyopt was remove because it's been archived upstream"; # added 2023-06-07
graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
grappelli_safe = grappelli-safe; # added 2023-10-08
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
HAP-python = hap-python; # added 2021-06-01
+1 -1
View File
@@ -4691,7 +4691,7 @@ self: super: with self; {
inherit (pkgs) graphviz;
};
grappelli_safe = callPackage ../development/python-modules/grappelli_safe { };
grappelli-safe = callPackage ../development/python-modules/grappelli-safe { };
graspologic = callPackage ../development/python-modules/graspologic { };