2023-05-21 13:08:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-09-29 11:31:26 +00:00
|
|
|
|
2019-10-05 00:26:52 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dbmate";
|
2024-01-20 08:36:19 +00:00
|
|
|
version = "2.11.0";
|
2018-09-29 11:31:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amacneil";
|
|
|
|
repo = "dbmate";
|
2023-05-21 13:08:45 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-20 08:36:19 +00:00
|
|
|
hash = "sha256-kY91ToCEl1bNdeIKDAAR3q7053oyFhx+THre7Syw96g=";
|
2018-09-29 11:31:26 +00:00
|
|
|
};
|
|
|
|
|
2024-01-20 08:36:19 +00:00
|
|
|
vendorHash = "sha256-z33Ayxc/ftNHh5zunDu0AlamuoSglX4aqOKQLuYT3+s=";
|
2018-09-29 11:31:26 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-09-29 11:31:26 +00:00
|
|
|
description = "Database migration tool";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/amacneil/dbmate";
|
2023-05-21 13:08:45 +00:00
|
|
|
changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}";
|
2018-09-29 11:31:26 +00:00
|
|
|
license = licenses.mit;
|
2023-05-21 13:08:45 +00:00
|
|
|
maintainers = with maintainers; [ manveru ];
|
2018-09-29 11:31:26 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|