2023-04-20 09:31:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aiac";
|
2023-06-09 16:54:07 +00:00
|
|
|
version = "2.5.0";
|
2023-04-20 09:31:54 +00:00
|
|
|
excludedPackages = [".ci"];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gofireflyio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-06-09 16:54:07 +00:00
|
|
|
hash = "sha256-BCcoMftnvfAqmabnSz/oRAlJg95KJ236mduxV2DfRG4=";
|
2023-04-20 09:31:54 +00:00
|
|
|
};
|
|
|
|
|
2023-05-08 08:47:38 +00:00
|
|
|
vendorHash = "sha256-Uqr9wH7hCLdZEu6DXddgB7NuLtqcjUbOPJ2YX+9ehKM=";
|
2023-04-20 09:31:54 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X github.com/gofireflyio/aiac/v3/libaiac.Version=v${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = ''Artificial Intelligence Infrastructure-as-Code Generator.'';
|
|
|
|
homepage = "https://github.com/gofireflyio/aiac/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ qjoly ];
|
|
|
|
};
|
|
|
|
}
|