nixpkgs/pkgs/development/tools/database/dbmate/default.nix

23 lines
587 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2018-09-29 04:31:26 -07:00
2019-10-04 17:26:52 -07:00
buildGoModule rec {
pname = "dbmate";
2020-05-01 23:38:24 -07:00
version = "1.8.0";
2018-09-29 04:31:26 -07:00
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
2020-05-01 23:38:24 -07:00
sha256 = "16grd03r41n0vj5fs7j6jk395zs2q0i878p9nh1ycicy64nzmxky";
2018-09-29 04:31:26 -07:00
};
vendorSha256 = "1915h1hi2y2sx5jvx84c1j281zaz100gbhyalvg5jqjr1van5s4d";
2018-09-29 04:31:26 -07:00
meta = with stdenv.lib; {
description = "Database migration tool";
homepage = "https://github.com/amacneil/dbmate";
2018-09-29 04:31:26 -07:00
license = licenses.mit;
maintainers = [ maintainers.manveru ];
platforms = platforms.unix;
};
}