python3Packages.django-autocomplete-light: use finalAttrs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "django-autocomplete-light";
|
||||
version = "3.12.1";
|
||||
pyproject = true;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "yourlabs";
|
||||
repo = "django-autocomplete-light";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ctNbbmTUgrkLGCo7tgPIJpLn7RmkZSuj54/5RBe/sdA=";
|
||||
};
|
||||
|
||||
@@ -42,8 +42,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Fresh approach to autocomplete implementations, specially for Django";
|
||||
homepage = "https://django-autocomplete-light.readthedocs.io";
|
||||
changelog = "https://github.com/yourlabs/django-autocomplete-light/blob/${version}/CHANGELOG";
|
||||
changelog = "https://github.com/yourlabs/django-autocomplete-light/blob/${finalAttrs.version}/CHANGELOG";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user