diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-01-07 23:21:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 23:21:39 +0100 |
commit | d709fd7e4e9411869413053bd178682935528b79 (patch) | |
tree | 28fd9655acad4a883a878547400e1d94ed24bac1 /pkgs/servers/sftpgo | |
parent | 8f8d93f75315a84bdd9580afc276492d863a0dfb (diff) |
sftpgo: add changelog to meta
Diffstat (limited to 'pkgs/servers/sftpgo')
-rw-r--r-- | pkgs/servers/sftpgo/default.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/servers/sftpgo/default.nix b/pkgs/servers/sftpgo/default.nix index 1bf14be196bc8..6af33c31dbf80 100644 --- a/pkgs/servers/sftpgo/default.nix +++ b/pkgs/servers/sftpgo/default.nix @@ -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 ]; }; } |