sftpgo: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-07 23:21:39 +01:00 committed by GitHub
parent 8f8d93f753
commit d709fd7e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,8 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "sftpgo";
@ -7,8 +11,8 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "drakkan";
repo = "sftpgo";
rev = "v${version}";
sha256 = "sha256-bI4IiYzVorocITkip+Xev3t7vGeMVmqCZn7oR1mAPpI=";
rev = "refs/tags/v${version}";
hash = "sha256-bI4IiYzVorocITkip+Xev3t7vGeMVmqCZn7oR1mAPpI=";
};
vendorHash = "sha256-+i6jUImDMrsDnIPjIp8uM2BR1IYMqWG1OmvA2w/AfVQ=";
@ -36,8 +40,9 @@ buildGoModule rec {
--fish <($out/bin/sftpgo gen completion fish)
'';
meta = {
meta = with lib; {
homepage = "https://github.com/drakkan/sftpgo";
changelog = "https://github.com/drakkan/sftpgo/releases/tag/v${version}";
description = "Fully featured and highly configurable SFTP server";
longDescription = ''
Fully featured and highly configurable SFTP server
@ -46,7 +51,7 @@ buildGoModule rec {
local filesystem, encrypted local filesystem, S3 (compatible) Object Storage,
Google Cloud Storage, Azure Blob Storage, SFTP.
'';
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ thenonameguy ];
license = licenses.agpl3Only;
maintainers = with maintainers; [ thenonameguy ];
};
}