bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
28 lines
603 B
Nix
28 lines
603 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "skeema";
|
|
version = "1.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skeema";
|
|
repo = "skeema";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DHdc6Le4WhL5QC/hqtbtq7rdBdLiRflDNnXQY2l2aJ8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|