9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
28 lines
657 B
Nix
28 lines
657 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dbmate";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amacneil";
|
|
repo = "dbmate";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-s3J5Mf+eCChIGmm89nq1heoJKscCA9nINGAGe0/qxaI=";
|
|
};
|
|
|
|
vendorHash = "sha256-ohSwDFisNXnq+mqGD2v4X58lumHvpyTyJxME418GSMY=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Database migration tool";
|
|
homepage = "https://github.com/amacneil/dbmate";
|
|
changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ manveru ];
|
|
};
|
|
}
|