python3Packages.django-formset-js-improved: backport 0.5.0.4 changes

The release has not been pushed to Git, but the changese included in the
new release have.
This commit is contained in:
Martin Weinelt
2025-10-01 02:19:13 +02:00
parent 90b8554d0e
commit 237fbfe618
@@ -2,6 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
django,
django-jquery-js,
}:
@@ -9,7 +11,7 @@
buildPythonPackage rec {
pname = "django-formset-js-improved";
version = "0.5.0.3";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
@@ -18,9 +20,18 @@ buildPythonPackage rec {
hash = "sha256-bOM24ldXk9WeV0jl6LIJB3BJ5hVWLA1PJTBBnJBoprU=";
};
patches = [
(fetchpatch {
url = "https://github.com/pretix/django-formset-js/commit/7d8a33190d58ff9d75270264342eba82672d054e.patch";
hash = "sha256-eBRP0eqMnH7UM9cToR+diejO6dMDDVt2bbUHLDcaWjk=";
})
];
build-system = [ setuptools ];
buildInputs = [ django ];
propagatedBuildInputs = [ django-jquery-js ];
dependencies = [ django-jquery-js ];
pythonImportsCheck = [ "djangoformsetjs" ];