blob: 5ececfb35041984542b3388ac0e6d121afec4c67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
six,
pytest-django,
setuptools,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "django-annoying";
version = "0.10.8";
pyproject = true;
src = fetchFromGitHub {
owner = "skorokithakis";
repo = "django-annoying";
tag = "v${finalAttrs.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${finalAttrs.version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ambroisie ];
};
})
|