diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-21 15:08:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 15:08:45 +0200 |
commit | bdf0a7c7cda0fa7b359a0d5fcf988f7d8c0867a1 (patch) | |
tree | 6d252a23c1d7bd8488749ed06384657f19ebdcdf /pkgs/development | |
parent | cfb3bfac895d3b0347a5e9a44f5206f3d9101006 (diff) |
dbmate: add changelog to meta
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/database/dbmate/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/tools/database/dbmate/default.nix b/pkgs/development/tools/database/dbmate/default.nix index fad8f937511c4..625b99271ad25 100644 --- a/pkgs/development/tools/database/dbmate/default.nix +++ b/pkgs/development/tools/database/dbmate/default.nix @@ -1,4 +1,7 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +}: buildGoModule rec { pname = "dbmate"; @@ -7,8 +10,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "amacneil"; repo = "dbmate"; - rev = "v${version}"; - sha256 = "sha256-bWmRdrULXXVIaO5f3rntsVURnyojYFbhbZ43WvGzoZk="; + rev = "refs/tags/v${version}"; + hash = "sha256-bWmRdrULXXVIaO5f3rntsVURnyojYFbhbZ43WvGzoZk="; }; vendorHash = "sha256-m1Nbu1bE04iOXnxW5kJfI9W95FU87eRKkOzg+YVvRsg="; @@ -18,8 +21,9 @@ buildGoModule rec { meta = with lib; { description = "Database migration tool"; homepage = "https://github.com/amacneil/dbmate"; + changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}"; license = licenses.mit; - maintainers = [ maintainers.manveru ]; + maintainers = with maintainers; [ manveru ]; platforms = platforms.unix; }; } |