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 { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
# native
, setuptools-scm , setuptools-scm
# propagated
, django , django
# tests
, python , python
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-widget-tweaks"; 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"; owner = "jazzband";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
sha256 = "1rhn2skx287k6nnkxlwvl9snbia6w6z4c2rqg22hwzbz5w05b24h"; hash = "sha256-/3UIsg75X3R9YGv9cEcoPw3IN2vkhUb+HCy68813d2E=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -38,11 +36,10 @@ buildPythonPackage rec {
''; '';
meta = with lib; { 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"; homepage = "https://github.com/jazzband/django-widget-tweaks";
changelog = "https://github.com/jazzband/django-widget-tweaks/blob/${version}/CHANGES.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ maintainers = with maintainers; [ maxxk ];
maxxk
];
}; };
} }