Skip to content

Commit e4c85e2

Browse files
authored
python312Packages.django-annoying: 0.10.6 -> 0.10.7 (#373984)
2 parents 0c7f9d9 + 6f25957 commit e4c85e2

File tree

1 file changed

+8
-13
lines changed
  • pkgs/development/python-modules/django-annoying

1 file changed

+8
-13
lines changed

pkgs/development/python-modules/django-annoying/default.nix

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,28 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
fetchpatch,
65
django,
76
six,
87
pytest-django,
8+
setuptools,
99
pytestCheckHook,
1010
}:
1111

1212
buildPythonPackage rec {
1313
pname = "django-annoying";
14-
version = "0.10.6";
15-
format = "setuptools";
14+
version = "0.10.7";
15+
pyproject = true;
1616

1717
src = fetchFromGitHub {
1818
owner = "skorokithakis";
1919
repo = "django-annoying";
20-
rev = "v${version}";
21-
hash = "sha256-M1zOLr1Vjf2U0xlW66Mpno+S+b4IKLklN+kYxRaj6cA=";
20+
tag = "v${version}";
21+
hash = "sha256-lEl9k2DOJUiCxiSp1xWIGsKbZ9iJlNWr3mxTXlKXbt4=";
2222
};
2323

24-
patches = [
25-
(fetchpatch {
26-
name = "django-4-compatibility.patch";
27-
url = "https://github.com/skorokithakis/django-annoying/pull/101/commits/51b5bd7bc8bb7a410400667e00d0813603df32bd.patch";
28-
hash = "sha256-gLRlAtIHHJ85I88af3C3y+ZT+nXrj2KrV7QgOuEqspk=";
29-
})
30-
];
24+
build-system = [ setuptools ];
3125

32-
propagatedBuildInputs = [
26+
dependencies = [
3327
django
3428
six
3529
];
@@ -44,6 +38,7 @@ buildPythonPackage rec {
4438
meta = with lib; {
4539
description = "Django application that tries to eliminate annoying things in the Django framework";
4640
homepage = "https://skorokithakis.github.io/django-annoying/";
41+
changelog = "https://github.com/skorokithakis/django-annoying/releases/tag/v$version";
4742
license = licenses.bsd3;
4843
maintainers = with maintainers; [ ambroisie ];
4944
};

0 commit comments

Comments
 (0)