Merge pull request #177545 from felschr/etebase-server

This commit is contained in:
Sandro 2022-06-26 17:47:56 +02:00 committed by GitHub
commit 3bde1a7b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,17 @@
{ lib, fetchFromGitHub, buildPythonPackage, aioredis, aiofiles, django_3
, fastapi, msgpack, pynacl, typing-extensions }:
, fastapi, msgpack, pynacl, typing-extensions
, withLdap ? true, ldap }:
buildPythonPackage rec {
pname = "etebase-server";
version = "0.8.3";
version = "0.9.1";
format = "other";
src = fetchFromGitHub {
owner = "etesync";
repo = "server";
rev = "v${version}";
sha256 = "sha256-rPs34uzb5veiOw74SACLrDm4Io0CYH9EL9IuV38CkPY=";
sha256 = "sha256-mYXy0N7ohNk3K2XNB6JvULF6lhL5dV8yBvooR6RuV1E=";
};
patches = [ ./secret.patch ];
@ -23,7 +24,7 @@ buildPythonPackage rec {
msgpack
pynacl
typing-extensions
];
] ++ lib.optional withLdap ldap;
installPhase = ''
mkdir -p $out/bin $out/lib