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

26 lines
599 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";
2020-11-21 19:16:37 +00:00
version = "1.11.0";
2018-09-29 11:31:26 +00:00
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
2020-11-21 19:16:37 +00:00
sha256 = "1q1hyrd1zlynyb0720fd1lwg22l3bwjbcak2aplh259p698gwyf5";
2018-09-29 11:31:26 +00:00
};
2020-11-21 19:16:37 +00:00
vendorSha256 = "197zpjvvv9xpfbw443kbxvhjmjqmx1h2bj1xl2vwgf0w64mkk84z";
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;
};
}