blob: 8a08d2e2f544c39bebed22384b9bf2cfdfa396a4 (
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
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
django,
django-appconf,
# tests
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-statici18n";
version = "2.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zyegfryed";
repo = "django-statici18n";
tag = "v${version}";
hash = "sha256-G1JF/AQEDgvDamvjCYiQM7b6HfbdMBhfEUvT3yL1io0=";
};
build-system = [ setuptools ];
dependencies = [
django
django-appconf
];
pythonImportsCheck = [ "statici18n" ];
env.DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings";
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
meta = {
description = "Helper for generating Javascript catalog to static files";
homepage = "https://github.com/zyegfryed/django-statici18n";
license = lib.licenses.bsd3;
maintainers = [
];
};
}
|