Merge pull request #251645 from r-ryantm/auto-update/python310Packages.django-widget-tweaks

python310Packages.django-widget-tweaks: 1.4.12 -> 1.5.0
This commit is contained in:
OTABI Tomoya 2023-08-27 12:26:08 +09:00 committed by GitHub
commit f5db23b6ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# native
, setuptools-scm
# propagated
, django
# tests
, python
, pythonOlder
}:
buildPythonPackage rec {
pname = "django-widget-tweaks";
version = "1.4.12";
version = "1.5.0";
format = "setuptools";
src = fetchFromGitHub { # package from Pypi missing runtests.py
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jazzband";
repo = pname;
rev = version;
sha256 = "1rhn2skx287k6nnkxlwvl9snbia6w6z4c2rqg22hwzbz5w05b24h";
rev = "refs/tags/${version}";
hash = "sha256-/3UIsg75X3R9YGv9cEcoPw3IN2vkhUb+HCy68813d2E=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -38,11 +36,10 @@ buildPythonPackage rec {
'';
meta = with lib; {
description = "Tweak the form field rendering in templates, not in python-level form definitions.";
description = "Tweak the form field rendering in templates, not in python-level form definitions";
homepage = "https://github.com/jazzband/django-widget-tweaks";
changelog = "https://github.com/jazzband/django-widget-tweaks/blob/${version}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [
maxxk
];
maintainers = with maintainers; [ maxxk ];
};
}