2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-09-29 12:31:26 +01:00
|
|
|
|
2019-10-05 01:26:52 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dbmate";
|
2020-08-22 06:27:32 +01:00
|
|
|
version = "1.10.0";
|
2018-09-29 12:31:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amacneil";
|
|
|
|
repo = "dbmate";
|
|
|
|
rev = "v${version}";
|
2020-08-22 06:27:32 +01:00
|
|
|
sha256 = "09zb7r8f6m1w9ax9ayaxjzwmqcgx5f6x4lclfi1wdn6f6qaans4w";
|
2018-09-29 12:31:26 +01:00
|
|
|
};
|
|
|
|
|
2020-08-22 06:27:32 +01:00
|
|
|
vendorSha256 = "012kgdvw7hj3m40v3nnpg916n02nxv19zid07h8g4qwprzg49iq2";
|
2018-09-29 12:31:26 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2018-09-29 12:31:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Database migration tool";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/amacneil/dbmate";
|
2018-09-29 12:31:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|