emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / django-statici18n / default.nix
blobb233ad229b66281641e091ccc5bf224388a61781
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   django,
11   django-appconf,
13   # tests
14   pytest-django,
15   pytestCheckHook,
18 buildPythonPackage rec {
19   pname = "django-statici18n";
20   version = "2.5.0";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "zyegfryed";
25     repo = "django-statici18n";
26     tag = "v${version}";
27     hash = "sha256-n6HqHcXvz2ihwN+gJr5P+/Yt4RpuOu2yAjo9fiNZB54=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     django
34     django-appconf
35   ];
37   pythonImportsCheck = [ "statici18n" ];
39   env.DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings";
41   nativeCheckInputs = [
42     pytest-django
43     pytestCheckHook
44   ];
46   meta = with lib; {
47     description = "Helper for generating Javascript catalog to static files";
48     homepage = "https://github.com/zyegfryed/django-statici18n";
49     license = licenses.bsd3;
50     maintainers = with maintainers; [
51       greizgh
52       schmittlauch
53     ];
54   };