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";
2023-12-25 15:57:19 +00:00
version = "2.10.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}";
2023-12-25 15:57:19 +00:00
hash = "sha256-gJ1kYedws20C669Gonmsui59a/TvPXawqkx5k4pPn8M=";
2018-09-29 11:31:26 +00:00
};
2023-12-25 15:57:19 +00:00
vendorHash = "sha256-JjFBUjSbHnJE7FPa11lQBx7Dvv7uBkuvLYqeuaDkHJM=";
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
};
}