159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
29 lines
686 B
Nix
29 lines
686 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dbmate";
|
|
version = "2.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amacneil";
|
|
repo = "dbmate";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-5lsScWX7oaYU3IzqBYK41g96bLn2Er0XRq3nUgXI+Vk=";
|
|
};
|
|
|
|
vendorHash = "sha256-BtMvaMb36F9c1CJb7qAhkMW8jxuPJqlKRSlMzkEOMAY=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Database migration tool";
|
|
mainProgram = "dbmate";
|
|
homepage = "https://github.com/amacneil/dbmate";
|
|
changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ manveru ];
|
|
};
|
|
}
|