diff options
| author | Mira Ressel | 2025-10-29 15:45:19 +0100 |
|---|---|---|
| committer | Mira Ressel | 2025-10-29 16:55:33 +0100 |
| commit | 2fbe09962604c10a481614fa07298e199f1a0fc0 (patch) | |
| tree | db511fb66f0266cae200896cd3c2b30330dc7049 /pkgs | |
| parent | 94945fb893fc8329fde36368e07dc308d864f4da (diff) | |
bookwyrm now officially depends on django 5.2, which isn't in
nixos-25.05 yet, but django 5.1 seems to be fiiiine too, paws crossed.
The USE_HTTPS env var no longer has any effect, https is now always used
unless DOMAIN is localhost.
Diffstat (limited to '')
| -rw-r--r-- | pkgs/bookwyrm/default.nix | 1 | ||||
| -rw-r--r-- | pkgs/bookwyrm/unwrapped.nix | 7 | ||||
| -rw-r--r-- | pkgs/overlay.nix | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/bookwyrm/default.nix b/pkgs/bookwyrm/default.nix index e4c55bf..6e0756b 100644 --- a/pkgs/bookwyrm/default.nix +++ b/pkgs/bookwyrm/default.nix @@ -12,7 +12,6 @@ let settingsWithDefaults = { DOMAIN = "localhost"; DEBUG = false; - USE_HTTPS = false; EMAIL = "your@email.here"; PGPORT = 5432; POSTGRES_USER = "bookwyrm"; diff --git a/pkgs/bookwyrm/unwrapped.nix b/pkgs/bookwyrm/unwrapped.nix index 151a9b5..dce4279 100644 --- a/pkgs/bookwyrm/unwrapped.nix +++ b/pkgs/bookwyrm/unwrapped.nix @@ -5,7 +5,7 @@ python.pkgs.buildPythonApplication rec { pname = "bookwyrm-unwrapped"; - version = "0.7.5"; + version = "0.8.0"; format = "other"; @@ -13,7 +13,7 @@ python.pkgs.buildPythonApplication rec { owner = "bookwyrm-social"; repo = "bookwyrm"; rev = "refs/tags/v${version}"; - hash = "sha256-/oak9dEB2rR2z8b9oXVQ6+F2H7s0F5hVxmAlPdpaA0w="; + hash = "sha256-juJLl6yN/u5Tx9j2rgT6d+92U4QAqhxG/LFZlIQtFxA="; }; propagatedBuildInputs = with python.pkgs; [ @@ -40,7 +40,7 @@ python.pkgs.buildPythonApplication rec { markdown packaging pillow - psycopg2 + psycopg pycryptodome dateutil redis @@ -60,6 +60,7 @@ python.pkgs.buildPythonApplication rec { pyotp qrcode grpcio + ua-parser ]; postInstall = '' diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix index f097b8a..22d59ba 100644 --- a/pkgs/overlay.nix +++ b/pkgs/overlay.nix @@ -285,6 +285,7 @@ in bookwyrm-unwrapped = (self.callPackage ./bookwyrm/unwrapped.nix { python = super.python312.override ({ packageOverrides = self: super: { + django = self.django_5; django-sass-processor = self.callPackage ./python/django-sass-processor.nix {}; django-imagekit = self.callPackage ./python/django-imagekit.nix {}; django-pgtrigger = self.callPackage ./python/django-pgtrigger.nix {}; |
