Files
nixpkgs/pkgs/development/python-modules/django-annoying/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
960 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
six,
pytest-django,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-annoying";
version = "0.10.8";
pyproject = true;
src = fetchFromGitHub {
owner = "skorokithakis";
repo = "django-annoying";
tag = "v${version}";
hash = "sha256-zBOHVar4iKb+BioIwmDosNZKi/0YcjYfBusn0Lv8pMw=";
};
build-system = [ setuptools ];
dependencies = [
django
six
];
DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
meta = {
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 = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ambroisie ];
};
}