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";
|
2019-10-05 01:26:52 +01:00
|
|
|
version = "1.7.0";
|
2018-09-29 12:31:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amacneil";
|
|
|
|
repo = "dbmate";
|
|
|
|
rev = "v${version}";
|
2019-10-05 01:26:52 +01:00
|
|
|
sha256 = "0jvizj616rsh3aw9z3bijk7ixpbnqmm3xqmdxznjzqd46avr54c3";
|
2018-09-29 12:31:26 +01:00
|
|
|
};
|
|
|
|
|
2019-10-05 01:26:52 +01:00
|
|
|
modSha256 = "12x3m5bjyx3blh5i51pd99phv73m96pmm6i3ir4vf2kms3viif9i";
|
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;
|
|
|
|
};
|
|
|
|
}
|