mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
Merge pull request #333248 from r-ryantm/auto-update/python312Packages.django-admin-sortable2
python312Packages.django-admin-sortable2: 2.2.1 -> 2.2.2
This commit is contained in:
commit
9b2fc49599
@ -1,36 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
django_4,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
django,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-admin-sortable2";
|
||||
version = "2.2.1";
|
||||
format = "setuptools";
|
||||
version = "2.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "django_admin_sortable2";
|
||||
inherit version;
|
||||
hash = "sha256-MKlSf5P8YbeixZVNtX2EKJMeN/Riw7RssQEFPcX1F1E=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrief";
|
||||
repo = "django-admin-sortable2";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-BgydzSrbEMC6fE3W9TqjedBYtxMhK/bsYexNTXnJfUo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django_4 ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ django ];
|
||||
|
||||
pythonImportsCheck = [ "adminsortable2" ];
|
||||
|
||||
# Tests are very slow (end-to-end with playwright)
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Generic drag-and-drop ordering for objects in the Django admin interface";
|
||||
homepage = "https://github.com/jrief/django-admin-sortable2";
|
||||
changelog = "https://github.com/jrief/django-admin-sortable2/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sephi ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sephi ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user