about summary refs log tree commit diff
diff options
context:
space:
mode:
authorphaer <hello@phaer.org>2024-03-01 22:54:41 +0100
committerphaer <hello@phaer.org>2024-03-01 22:54:41 +0100
commitaa04a4d12449f8e49afdc271b8fb7acdca8b1ad0 (patch)
treec5cb433f39483be02957bcd6ab5f9abd3f61ceb7
parent720a1eb5e7291bdbf7e7d9777013cd21419964c9 (diff)
downloadnixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar.gz
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar.bz2
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar.lz
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar.xz
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.tar.zst
nixlib-aa04a4d12449f8e49afdc271b8fb7acdca8b1ad0.zip
etebase: use dependencies from overriden python...
interpreter, as per review comment.
-rw-r--r--pkgs/servers/etebase/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/servers/etebase/default.nix b/pkgs/servers/etebase/default.nix
index 594f2b16c9e7..6d4e41d25321 100644
--- a/pkgs/servers/etebase/default.nix
+++ b/pkgs/servers/etebase/default.nix
@@ -1,17 +1,8 @@
 { lib
 , fetchFromGitHub
-, aiofiles
-, django_3
-, fastapi
-, msgpack
-, pynacl
-, redis
-, typing-extensions
 , withLdap ? true
 , python3
-, python-ldap
 , withPostgres ? true
-, psycopg2
 , nix-update-script
 , nixosTests
 }:
@@ -38,12 +29,20 @@ python.pkgs.buildPythonPackage rec {
   patches = [ ./secret.patch ];
 
   propagatedBuildInputs = [
+  propagatedBuildInputs = with python.pkgs; [
     aiofiles
     django_3
     fastapi
     msgpack
     pynacl
     redis
+    uvicorn
+    websockets
+    watchfiles
+    uvloop
+    pyyaml
+    python-dotenv
+    httptools
     typing-extensions
   ] ++ lib.optional withLdap python-ldap
     ++ lib.optional withPostgres psycopg2;