depot/pkgs/development/tools/database/dbmate/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
686 B
Nix

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