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

29 lines
657 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dbmate";
version = "2.7.0";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "refs/tags/v${version}";
hash = "sha256-gT+1ptQUZNobUG2etknCuyV2xxct5F6+P2J6/6yQkTk=";
};
vendorHash = "sha256-2HY5eqiVRKvP1YrlNtbEj7QvDfoMV6DF+WgQOwo9VuQ=";
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 ];
};
}