etebase-server: fix dependencies

Add missing dependencies & remove unused ones.
This commit is contained in:
Felix Tenley 2022-04-27 23:12:01 +02:00
parent ead46754b4
commit efcc1cf887
No known key found for this signature in database
GPG Key ID: 671E39E6744C807D

View File

@ -1,13 +1,5 @@
{ lib, stdenv, python3, fetchFromGitHub }:
let
py = python3.override {
packageOverrides = self: super: {
django = super.django_3;
};
};
in
with py.pkgs;
{ lib, fetchFromGitHub, buildPythonPackage, aioredis, aiofiles, django_3
, fastapi, msgpack, pynacl, typing-extensions }:
buildPythonPackage rec {
pname = "etebase-server";
@ -23,21 +15,14 @@ buildPythonPackage rec {
patches = [ ./secret.patch ];
propagatedBuildInputs = with pythonPackages; [
asgiref
cffi
django
django-cors-headers
djangorestframework
drf-nested-routers
propagatedBuildInputs = [
aioredis
aiofiles
django_3
fastapi
msgpack
psycopg2
pycparser
pynacl
pytz
six
sqlparse
typing-extensions
];
installPhase = ''