File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
pkgs/by-name/c2/c2000-cgt Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenvNoCC ,
4+ buildFHSEnv ,
5+ fetchurl ,
6+ } :
7+
8+ let
9+ fhs = buildFHSEnv {
10+ name = "fhs-shell" ;
11+ } ;
12+ in
13+ stdenvNoCC . mkDerivation ( finalAttrs : {
14+ pname = "c2000-cgt" ;
15+ version = "22.6.1.LTS" ;
16+
17+ src = fetchurl {
18+ url = "https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-xqxJ05PLfM/${ finalAttrs . version } /ti_cgt_c2000_${ finalAttrs . version } _linux-x64_installer.bin" ;
19+ hash = "sha256-h+exdlyD7Bj3LZTDVME8jHesInaUUUUmFiIKJR+rM9o=" ;
20+ } ;
21+
22+ dontUnpack = true ;
23+
24+ installPhase = ''
25+ runHook preInstall
26+
27+ mkdir -p /build/
28+ cp -a $src /build/installer.bin
29+
30+ chmod +x /build/installer.bin
31+ ${ fhs } /bin/fhs-shell -c '/build/installer.bin --mode unattended --prefix /build/ti'
32+ mv /build/ti/ti-cgt-c2000_${ finalAttrs . version } $out
33+
34+ runHook postInstall
35+ '' ;
36+
37+ meta = {
38+ description = "C28x/CLA code generation tools (CGT) - compiler" ;
39+ longDescription = ''
40+ The TI C28x code generation tools (C2000-CGT) facilitate the development of applications
41+ for TI C28x microcontroller platforms. The platforms include the Concerto (F28M3xx),
42+ Piccolo (280xx), Delfino floating-point (283xx), and C28x fixed-point (2823x/280x/281x) device families.
43+ '' ;
44+ homepage = "https://www.ti.com/tool/C2000-CGT" ;
45+ changelog = "https://software-dl.ti.com/codegen/esd/cgt_public_sw/C2000/${ finalAttrs . version } /README.html" ;
46+ license = lib . licenses . unfree ;
47+ maintainers = with lib . maintainers ; [ teczito ] ;
48+ mainProgram = "cl2000" ;
49+ platforms = [ "x86_64-linux" ] ;
50+ } ;
51+ } )
You can’t perform that action at this time.
0 commit comments