depot/third_party/nixpkgs/pkgs/tools/system/skeema/default.nix
Default email 871149a62e Project import generated by Copybara.
GitOrigin-RevId: 7f9b6e2babf232412682c09e57ed666d8f84ac2d
2022-02-21 09:47:16 +01:00

28 lines
604 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "skeema";
version = "1.7.0";
src = fetchFromGitHub {
owner = "skeema";
repo = "skeema";
rev = "v${version}";
sha256 = "1a75vixrpidim641809nj931r73zvbj2rsls7d80z7w87maav51m";
};
vendorSha256 = null;
CGO_ENABLED = 0;
ldflags = [ "-s" "-w" ];
checkFlags = [ "-short" ];
meta = with lib; {
description = "Declarative pure-SQL schema management for MySQL and MariaDB";
homepage = "https://skeema.io/";
license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ];
};
}