3
0
Fork 0
forked from mirrors/nixpkgs

etebase-server: 0.8.3 -> 0.9.1

This commit is contained in:
Felix Schröter 2022-06-13 21:45:40 +02:00
parent 13f08d71ce
commit 3dd79ce65d
No known key found for this signature in database
GPG key ID: 671E39E6744C807D

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