mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
26 lines
597 B
Nix
26 lines
597 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dbmate";
|
|
version = "1.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amacneil";
|
|
repo = "dbmate";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Kk8CtGw1lGNky2CUjaedh0IcDooaxWkeEnaYl/5jSTc=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-Qe3fwyEf/NiGmUSha/zZHRBR1okw2vE97u7tybqiWNI=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Database migration tool";
|
|
homepage = "https://github.com/amacneil/dbmate";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.manveru ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|