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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
658 B
Nix
Raw Normal View History

2023-05-21 13:08:45 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2018-09-29 11:31:26 +00:00
2019-10-05 00:26:52 +00:00
buildGoModule rec {
pname = "dbmate";
2024-01-20 08:36:19 +00:00
version = "2.11.0";
2018-09-29 11:31:26 +00:00
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
2023-05-21 13:08:45 +00:00
rev = "refs/tags/v${version}";
2024-01-20 08:36:19 +00:00
hash = "sha256-kY91ToCEl1bNdeIKDAAR3q7053oyFhx+THre7Syw96g=";
2018-09-29 11:31:26 +00:00
};
2024-01-20 08:36:19 +00:00
vendorHash = "sha256-z33Ayxc/ftNHh5zunDu0AlamuoSglX4aqOKQLuYT3+s=";
2018-09-29 11:31:26 +00:00
doCheck = false;
meta = with lib; {
2018-09-29 11:31:26 +00:00
description = "Database migration tool";
homepage = "https://github.com/amacneil/dbmate";
2023-05-21 13:08:45 +00:00
changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}";
2018-09-29 11:31:26 +00:00
license = licenses.mit;
2023-05-21 13:08:45 +00:00
maintainers = with maintainers; [ manveru ];
2018-09-29 11:31:26 +00:00
};
}