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

26 lines
594 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dbmate";
version = "2.0.1";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
sha256 = "sha256-zARaxjzVTi90BkwPOyfGYk3mBHRoAGMOe2LPlJB4Mvo=";
};
vendorHash = "sha256-NZ2HVFViU8Vzwyo33cueNJwdCT4exZlB7g4WgoWKZBE=";
doCheck = false;
meta = with lib; {
description = "Database migration tool";
homepage = "https://github.com/amacneil/dbmate";
license = licenses.mit;
maintainers = [ maintainers.manveru ];
platforms = platforms.unix;
};
}