Skip to content

Commit

Permalink
python312Packages.django-annoying: 0.10.6 -> 0.10.7 (NixOS#373984)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Jan 15, 2025
2 parents 0c7f9d9 + 6f25957 commit e4c85e2
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions pkgs/development/python-modules/django-annoying/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,28 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
django,
six,
pytest-django,
setuptools,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "django-annoying";
version = "0.10.6";
format = "setuptools";
version = "0.10.7";
pyproject = true;

src = fetchFromGitHub {
owner = "skorokithakis";
repo = "django-annoying";
rev = "v${version}";
hash = "sha256-M1zOLr1Vjf2U0xlW66Mpno+S+b4IKLklN+kYxRaj6cA=";
tag = "v${version}";
hash = "sha256-lEl9k2DOJUiCxiSp1xWIGsKbZ9iJlNWr3mxTXlKXbt4=";
};

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

propagatedBuildInputs = [
dependencies = [
django
six
];
Expand All @@ -44,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Django application that tries to eliminate annoying things in the Django framework";
homepage = "https://skorokithakis.github.io/django-annoying/";
changelog = "https://github.com/skorokithakis/django-annoying/releases/tag/v$version";
license = licenses.bsd3;
maintainers = with maintainers; [ ambroisie ];
};
Expand Down

0 comments on commit e4c85e2

Please sign in to comment.