587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
29 lines
686 B
Nix
29 lines
686 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dbmate";
|
|
version = "2.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amacneil";
|
|
repo = "dbmate";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-jShFLwoxZdUEHA+gd87n3R+faOdC6TboXuPvcZp89+Y=";
|
|
};
|
|
|
|
vendorHash = "sha256-kBk2KhPDVYBGIUQpXq4ANA7WX+JUOxz7/Ad+4h2CD1c=";
|
|
|
|
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 ];
|
|
};
|
|
}
|