depot/third_party/nixpkgs/pkgs/development/python-modules/django-statici18n/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

44 lines
897 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, django-appconf
, pytest-django
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "django-statici18n";
version = "2.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "zyegfryed";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-2fFJJNdF0jspS7djDL8sToPTetzNR6pfNp5ohCNa30I=";
};
propagatedBuildInputs = [
django
django-appconf
];
pythonImportsCheck = [
"statici18n"
];
DJANGO_SETTINGS_MODULE = "tests.test_project.project.settings";
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
meta = with lib; {
description = "Helper for generating Javascript catalog to static files";
homepage = "https://github.com/zyegfryed/django-statici18n";
license = licenses.bsd3;
maintainers = with maintainers; [ greizgh schmittlauch ];
};
}