Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
846 B
Nix
40 lines
846 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
go,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "AutomaticComponentToolkit";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Autodesk";
|
|
repo = "AutomaticComponentToolkit";
|
|
rev = "v${version}";
|
|
sha256 = "1r0sbw82cf9dbcj3vgnbd4sc1lklzvijic2z5wgkvs21azcm0yzh";
|
|
};
|
|
|
|
nativeBuildInputs = [ go ];
|
|
|
|
buildPhase = ''
|
|
cd Source
|
|
export HOME=/tmp
|
|
go build -o act *.go
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -Dm0755 act $out/bin/act
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Toolkit to automatically generate software components: abstract API, implementation stubs and language bindings";
|
|
mainProgram = "act";
|
|
homepage = "https://github.com/Autodesk/AutomaticComponentToolkit";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|