diff options
author | Gabriel Ebner <gebner@gebner.org> | 2021-03-20 17:22:05 +0100 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2021-03-21 11:26:24 +0100 |
commit | bab28cf36c8b414f87491e9f926bbc7cd59faf3d (patch) | |
tree | cc03945d39f97687e4b34b9ad0efd318f4210fc9 /pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix | |
parent | c430ccbb77a263866d2b68e65a74ead595f55a76 (diff) |
automaticcomponenttoolkit: init at 1.6.0
Diffstat (limited to 'pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix')
-rw-r--r-- | pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix b/pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix new file mode 100644 index 0000000000000..cf84a98467d64 --- /dev/null +++ b/pkgs/development/tools/misc/automaticcomponenttoolkit/default.nix @@ -0,0 +1,33 @@ +{ stdenv, lib, fetchFromGitHub, go }: + +stdenv.mkDerivation rec { + pname = "AutomaticComponentToolkit"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "Autodesk"; + repo = pname; + 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"; + homepage = "https://github.com/Autodesk/AutomaticComponentToolkit"; + license = licenses.bsd2; + maintainers = with maintainers; [ gebner ]; + platforms = platforms.all; + }; +} |