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:
commit
38a3b50f9a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue