nixpkgs/pkgs/tools/system/skeema/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
603 B
Nix
Raw Normal View History

2022-01-30 06:37:18 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "skeema";
2022-04-09 20:46:34 +00:00
version = "1.7.1";
2022-01-30 06:37:18 +00:00
src = fetchFromGitHub {
owner = "skeema";
repo = "skeema";
rev = "v${version}";
2022-04-09 20:46:34 +00:00
sha256 = "sha256-DHdc6Le4WhL5QC/hqtbtq7rdBdLiRflDNnXQY2l2aJ8=";
2022-01-30 06:37:18 +00:00
};
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 ];
};
}