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

26 lines
597 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-09-29 11:31:26 +00:00
2019-10-05 00:26:52 +00:00
buildGoModule rec {
pname = "dbmate";
2021-07-23 04:13:00 +00:00
version = "1.12.1";
2018-09-29 11:31:26 +00:00
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
2021-07-23 04:13:00 +00:00
sha256 = "sha256-XNxy8CnhO3rQi3VHr7nikFNXvY2eM30jR0ngNc0FV3E=";
2018-09-29 11:31:26 +00:00
};
2021-04-10 07:49:58 +00:00
vendorSha256 = "sha256-Qe3fwyEf/NiGmUSha/zZHRBR1okw2vE97u7tybqiWNI=";
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";
2018-09-29 11:31:26 +00:00
license = licenses.mit;
maintainers = [ maintainers.manveru ];
platforms = platforms.unix;
};
}