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-05-02 07:38:24 +01:00
|
|
|
version = "1.8.0";
|
2018-09-29 12:31:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amacneil";
|
|
|
|
repo = "dbmate";
|
|
|
|
rev = "v${version}";
|
2020-05-02 07:38:24 +01:00
|
|
|
sha256 = "16grd03r41n0vj5fs7j6jk395zs2q0i878p9nh1ycicy64nzmxky";
|
2018-09-29 12:31:26 +01:00
|
|
|
};
|
|
|
|
|
2020-05-02 07:38:24 +01:00
|
|
|
modSha256 = "1ky6cxpmw93nrk26vyrxz8kqa7247axzaxilm6ciypxf30ad0vdq";
|
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;
|
|
|
|
};
|
|
|
|
}
|