Merge pull request #177545 from felschr/etebase-server
This commit is contained in:
commit
3bde1a7b47
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue