removes rapid silicon stuff

This commit is contained in:
Fabián Montero 2023-02-13 09:25:06 -06:00
parent dede28c4de
commit 79263903c1
4 changed files with 2 additions and 135 deletions

View file

@ -1,65 +0,0 @@
{ lib, stdenv, requireFile, jre8, autoPatchelfHook, xorg, ncurses5, zlib, bzip2, readline, libsecret, glib, gtk2-x11, pango, atk, cairo, gdk-pixbuf, freetype, fontconfig, alsa-lib, libGL, gtk3, libxslt, ... }:
with lib;
let
version = "510_STD";
filename = "AndeSight_V${version}_OFFICIAL_Linux_x64_COPILOT600Beta";
in
stdenv.mkDerivation {
pname = "andesight";
inherit version;
nativeBuildInputs = [
autoPatchelfHook
];
buildInputs = [
jre8
xorg.libXext
xorg.libXrender
xorg.libXtst
xorg.libXi
xorg.libXxf86vm
ncurses5
zlib
bzip2
readline
libsecret
glib
gtk2-x11
pango
atk
cairo
gdk-pixbuf
freetype
fontconfig
alsa-lib
libGL
gtk3
libxslt
];
src = requireFile {
name = "${filename}.tgz";
sha256 = "6757bc0d84ea7ee9157f151fb61c2f60804f850b7f93dfa243b9f6f5025065ae";
url = "http://www.andestech.com/en/support-downloads/andesight-ide-download/";
};
patches = [
./install-properties.patch
];
buildPhase = ''
cd ${filename}/Linux_x64/Disk1/InstData/
substituteAll install.properties install.properties
cd VM
./install.bin LAX_VM ${jre8}/bin/java -f ../install.properties
rm -vf $out/andesight/jre_64/lib/amd64/libavplugin-*
rm -vf $out/andesight/.jre/lib/amd64/libavplugin-*
rm -vf $out/andesight/sid/ins/_hashlib.so
rm -vf $out/andesight/sid/ins/_ssl.so
addAutoPatchelfSearchPath $out/andesight/.jre/lib/amd64/
'';
meta.license = licenses.unfree;
}

View file

@ -1,31 +0,0 @@
--- a/AndeSight_V510_STD_OFFICIAL_Linux_x64_COPILOT600Beta/Linux_x64/Disk1/InstData/install.properties 2022-01-19 23:54:49.000000000 -0600
+++ b/AndeSight_V510_STD_OFFICIAL_Linux_x64_COPILOT600Beta/Linux_x64/Disk1/InstData/install.properties 2022-01-19 23:54:49.000000000 -0600
@@ -8,14 +8,14 @@
#Choose Install Folder
#---------------------
-USER_INSTALL_DIR=/local/Andestech/AndeSight_STD_v510
+USER_INSTALL_DIR=@out@/andesight
#License Type Selection
#----------------------
#LICENSE_TYPE_A: Activation Code, LICENSE_TYPE_F: Floating License, LICENSE_TYPE_N:Node-Lock License
#----------------------
-LICENSE_TYPE_A=1
-LICENSE_TYPE_F=0
+LICENSE_TYPE_A=0
+LICENSE_TYPE_F=1
LICENSE_TYPE_N=0
#Language Selection
@@ -30,8 +30,8 @@
#----------------------
#UI_MCU: Provides a streamlined UI specialized for developing micro-controller applications.
#UI_STD: Comprises a full-featured layout to fulfill all development requirements.
-UI_MCU=1
-UI_STD=0
+UI_MCU=0
+UI_STD=1
#IDE / BSP Selection
#----------------------

View file

@ -1,5 +1,5 @@
pkgs:
{
andesight = pkgs.callPackage ./andesight {};
netextender = pkgs.callPackage ./netextender {};
#andesight = pkgs.callPackage ./andesight {};
#netextender = pkgs.callPackage ./netextender {};
}

View file

@ -1,37 +0,0 @@
{ lib, stdenv, autoPatchelfHook, fetchurl, ppp, iproute2, nettools, ... }:
with lib;
let
version = "10.2.845.x86";
filename = "NetExtender.Linux-${version}";
in
stdenv.mkDerivation {
pname = "netextender";
inherit version;
nativeBuildInputs = [
autoPatchelfHook
];
buildInputs = [
ppp
iproute2
nettools
];
src = fetchurl {
url = "https://software.sonicwall.com/NetExtender/${filename}.tgz";
sha256 = "sha256-5TQxAu0MP36uDaFJ1hw7euhMiq1qjyjBsym9Waoj8D8=";
};
buildPhase = ''
substituteInPlace netExtenderClient/install \
--replace /usr/sbin/pppd ${ppp}/bin/pppd \
--replace /sbin/ip ${iproute2}/bin/ip \
--replace /sbin/route ${nettools}/bin/route \
--replace /sbin/ifconfig ${nettools}/bin/ifconfig \
--replace /usr/share $out/share \
--replace /usr/bin $out/bin
'';
meta.license = licenses.unfree;
}