Skip to content

Commit

Permalink
canaille: 0.0.56 -> 0.0.57
Browse files Browse the repository at this point in the history
  • Loading branch information
erictapen committed Jan 3, 2025
1 parent 41b0fca commit 4a621a7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
5 changes: 4 additions & 1 deletion nixos/modules/services/security/canaille.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ let
old.dependencies
++ old.optional-dependencies.front
++ old.optional-dependencies.oidc
++ old.optional-dependencies.scim
++ old.optional-dependencies.ldap
++ old.optional-dependencies.sentry
++ old.optional-dependencies.postgresql;
++ old.optional-dependencies.postgresql
++ old.optional-dependencies.otp
++ old.optional-dependencies.sms;
makeWrapperArgs = (old.makeWrapperArgs or [ ]) ++ [
"--set CONFIG /etc/canaille/config.toml"
"--set SECRETS_DIR \"${secretsDir}\""
Expand Down
23 changes: 19 additions & 4 deletions pkgs/by-name/ca/canaille/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "canaille";
version = "0.0.56";
version = "0.0.57";
pyproject = true;

disabled = python.pythonOlder "3.10";
Expand All @@ -20,7 +20,7 @@ python.pkgs.buildPythonApplication rec {
owner = "yaal";
repo = "canaille";
rev = "refs/tags/${version}";
hash = "sha256-cLsLwttUDxMKVqtVDCY5A22m1YY1UezeZQh1j74WzgU=";
hash = "sha256-pesN7k5kGHi3dqTMaXWdCsNsnaJxXv/Ku1wVC9N9a3k=";
};

build-system = with python.pkgs; [
Expand All @@ -35,6 +35,7 @@ python.pkgs.buildPythonApplication rec {
flask
flask-wtf
pydantic-settings
requests
wtforms
]
++ sentry-sdk.optional-dependencies.flask;
Expand All @@ -51,15 +52,19 @@ python.pkgs.buildPythonApplication rec {
pytest-lazy-fixtures
pytest-smtpd
pytest-xdist
scim2-tester
slapd
toml
faker
time-machine
]
++ optional-dependencies.front
++ optional-dependencies.oidc
++ optional-dependencies.scim
++ optional-dependencies.ldap
++ optional-dependencies.postgresql;
++ optional-dependencies.postgresql
++ optional-dependencies.otp
++ optional-dependencies.sms;

postInstall = ''
mkdir -p $out/etc/schema
Expand Down Expand Up @@ -88,14 +93,24 @@ python.pkgs.buildPythonApplication rec {
zxcvbn-rs-py
];
oidc = [ authlib ];
scim = [
scim2-models
authlib
];
ldap = [ python-ldap ];
sentry = [ sentry-sdk ];
postgresql = [
passlib
sqlalchemy
sqlalchemy-json
sqlalchemy-utils
] ++ sqlalchemy.optional-dependencies.postgresql;
] ++ sqlalchemy.optional-dependencies.postgresql_psycopg2binary;
otp = [
otpauth
pillow
qrcode
];
sms = [ smpplib ];
};

passthru = {
Expand Down

0 comments on commit 4a621a7

Please sign in to comment.