0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #306553 from gekoke/gekoke/django-allauth-compilemessages

python3Packages.django-allauth: compile `.mo` files
This commit is contained in:
Peder Bergebakken Sundt 2024-05-15 00:00:09 +02:00 committed by GitHub
commit 38a3b50f9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,9 @@
# build-system
, setuptools
# build-time dependencies
, gettext
# dependencies
, django
, python3-openid
@ -41,6 +44,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
gettext
setuptools
];
@ -52,6 +56,8 @@ buildPythonPackage rec {
requests-oauthlib
] ++ pyjwt.optional-dependencies.crypto;
preBuild = "python -m django compilemessages";
passthru.optional-dependencies = {
saml = [
python3-saml