2021-01-25 08:26:54 +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";
|
2020-11-21 19:16:37 +00:00
|
|
|
version = "1.11.0";
|
2018-09-29 11:31:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amacneil";
|
|
|
|
repo = "dbmate";
|
|
|
|
rev = "v${version}";
|
2020-11-21 19:16:37 +00:00
|
|
|
sha256 = "1q1hyrd1zlynyb0720fd1lwg22l3bwjbcak2aplh259p698gwyf5";
|
2018-09-29 11:31:26 +00:00
|
|
|
};
|
|
|
|
|
2020-11-21 19:16:37 +00:00
|
|
|
vendorSha256 = "197zpjvvv9xpfbw443kbxvhjmjqmx1h2bj1xl2vwgf0w64mkk84z";
|
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";
|
2018-09-29 11:31:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|