nixpkgs/pkgs/by-name/db/dbmate/package.nix
2024-11-10 13:10:04 +00:00

30 lines
686 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dbmate";
version = "2.22.0";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "refs/tags/v${version}";
hash = "sha256-stemIBwUYW1TsDUBrgQLq858kPBiaHaXaRIr65lnWQo=";
};
vendorHash = "sha256-xJIY0vaN7gw/EhqeepKQPhaKISXNNPnaAMbowmHSUz4=";
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 ];
};
}