python3Packages.django-admin-sortable2: init at 2.1.4
This commit is contained in:
parent
195eb9e778
commit
840fdc7c70
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildPythonPackage, django_4, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-admin-sortable2";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-fcCP8PvOWFlQL4CdEIwElfOw2UYJJp6u27EjfgMISss=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django_4 ];
|
||||
|
||||
pythonImportsCheck = [ "adminsortable2" ];
|
||||
|
||||
# Tests are very slow (end-to-end with playwright)
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generic drag-and-drop ordering for objects in the Django admin interface";
|
||||
homepage = "https://github.com/jrief/django-admin-sortable2";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sephi ];
|
||||
};
|
||||
}
|
|
@ -2469,6 +2469,8 @@ self: super: with self; {
|
|||
# Current latest
|
||||
django_4 = callPackage ../development/python-modules/django/4.nix { };
|
||||
|
||||
django-admin-sortable2 = callPackage ../development/python-modules/django-admin-sortable2 { };
|
||||
|
||||
django-allauth = callPackage ../development/python-modules/django-allauth { };
|
||||
|
||||
django-anymail = callPackage ../development/python-modules/django-anymail { };
|
||||
|
|
Loading…
Reference in a new issue