Skip to content

Commit

Permalink
python3Packages.django-allauth: compile .mo files
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed May 14, 2024
1 parent db7ab0e commit a96fbdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/django-allauth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# build-system
, setuptools

# build-time dependencies
, gettext

# dependencies
, django
, python3-openid
Expand Down Expand Up @@ -41,6 +44,7 @@ buildPythonPackage rec {
};

nativeBuildInputs = [
gettext
setuptools
];

Expand All @@ -52,6 +56,8 @@ buildPythonPackage rec {
requests-oauthlib
] ++ pyjwt.optional-dependencies.crypto;

preBuild = "python -m django compilemessages";

passthru.optional-dependencies = {
saml = [
python3-saml
Expand Down

0 comments on commit a96fbdc

Please sign in to comment.