mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #306553 from gekoke/gekoke/django-allauth-compilemessages
python3Packages.django-allauth: compile `.mo` files
This commit is contained in:
commit
38a3b50f9a
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
# build-system
|
# build-system
|
||||||
, setuptools
|
, setuptools
|
||||||
|
|
||||||
|
# build-time dependencies
|
||||||
|
, gettext
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
, django
|
, django
|
||||||
, python3-openid
|
, python3-openid
|
||||||
|
@ -41,6 +44,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -52,6 +56,8 @@ buildPythonPackage rec {
|
||||||
requests-oauthlib
|
requests-oauthlib
|
||||||
] ++ pyjwt.optional-dependencies.crypto;
|
] ++ pyjwt.optional-dependencies.crypto;
|
||||||
|
|
||||||
|
preBuild = "python -m django compilemessages";
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
saml = [
|
saml = [
|
||||||
python3-saml
|
python3-saml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue