mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3Packages.django-admin-sortable2: add changelog to meta
This commit is contained in:
parent
38334be6a9
commit
71a7045b3b
@ -1,17 +1,29 @@
|
|||||||
{ lib, buildPythonPackage, django_4, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, django_4
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-admin-sortable2";
|
pname = "django-admin-sortable2";
|
||||||
version = "2.1.4";
|
version = "2.1.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version pname;
|
inherit version pname;
|
||||||
sha256 = "sha256-fcCP8PvOWFlQL4CdEIwElfOw2UYJJp6u27EjfgMISss=";
|
sha256 = "sha256-fcCP8PvOWFlQL4CdEIwElfOw2UYJJp6u27EjfgMISss=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ django_4 ];
|
propagatedBuildInputs = [
|
||||||
|
django_4
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "adminsortable2" ];
|
pythonImportsCheck = [
|
||||||
|
"adminsortable2"
|
||||||
|
];
|
||||||
|
|
||||||
# Tests are very slow (end-to-end with playwright)
|
# Tests are very slow (end-to-end with playwright)
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
@ -19,6 +31,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generic drag-and-drop ordering for objects in the Django admin interface";
|
description = "Generic drag-and-drop ordering for objects in the Django admin interface";
|
||||||
homepage = "https://github.com/jrief/django-admin-sortable2";
|
homepage = "https://github.com/jrief/django-admin-sortable2";
|
||||||
|
changelog = "https://github.com/jrief/django-admin-sortable2/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ sephi ];
|
maintainers = with maintainers; [ sephi ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user