nixpkgs/pkgs/applications/networking/cluster/aiac/default.nix
2023-06-09 18:54:07 +02:00

25 lines
703 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "aiac";
version = "2.5.0";
excludedPackages = [".ci"];
src = fetchFromGitHub {
owner = "gofireflyio";
repo = pname;
rev = "v${version}";
hash = "sha256-BCcoMftnvfAqmabnSz/oRAlJg95KJ236mduxV2DfRG4=";
};
vendorHash = "sha256-Uqr9wH7hCLdZEu6DXddgB7NuLtqcjUbOPJ2YX+9ehKM=";
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 ];
};
}