etebase-server: add changelog to meta
This commit is contained in:
parent
960db9bafc
commit
81af5f82eb
1 changed files with 24 additions and 9 deletions
|
@ -1,7 +1,18 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, aiofiles, django_3
|
||||
, fastapi, msgpack, pynacl, redis, typing-extensions
|
||||
, withLdap ? true, python-ldap
|
||||
, withPostgres ? true, psycopg2 }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, aiofiles
|
||||
, django_3
|
||||
, fastapi
|
||||
, msgpack
|
||||
, pynacl
|
||||
, redis
|
||||
, typing-extensions
|
||||
, withLdap ? true
|
||||
, python-ldap
|
||||
, withPostgres ? true
|
||||
, psycopg2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etebase-server";
|
||||
|
@ -11,8 +22,8 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "etesync";
|
||||
repo = "server";
|
||||
rev = version;
|
||||
sha256 = "sha256-+MSNX+CFmIQII+SFjM2TQKCgRMOTdsOIVAP8ur4WjQY=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+MSNX+CFmIQII+SFjM2TQKCgRMOTdsOIVAP8ur4WjQY=";
|
||||
};
|
||||
|
||||
patches = [ ./secret.patch ];
|
||||
|
@ -25,8 +36,11 @@ buildPythonPackage rec {
|
|||
pynacl
|
||||
redis
|
||||
typing-extensions
|
||||
] ++ lib.optional withLdap python-ldap
|
||||
++ lib.optional withPostgres psycopg2;
|
||||
] ++ lib.optional withLdap [
|
||||
python-ldap
|
||||
] ++ lib.optional withPostgres [
|
||||
psycopg2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib
|
||||
|
@ -38,7 +52,8 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/etesync/server";
|
||||
description = "An Etebase (EteSync 2.0) server so you can run your own.";
|
||||
description = "An Etebase (EteSync 2.0) server so you can run your own";
|
||||
changelog = "https://github.com/etesync/server/blob/${version}/ChangeLog.md";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ felschr ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue