новый файл: flake.lock
новый файл: flake.nix новый файл: pkgs/codesys2/default.nix новый файл: pkgs/codesys2/setup.iss новый файл: pkgs/codesys3/default.nix новый файл: pkgs/mfc42/default.nix новый файл: pkgs/mspaintxp/default.nix новый файл: pkgs/vcredist2019/default.nix
This commit is contained in:
commit
04398840c0
8 changed files with 411 additions and 0 deletions
47
pkgs/codesys2/default.nix
Normal file
47
pkgs/codesys2/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
stdenv,
|
||||
makeWrapper,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
wine,
|
||||
src,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "codesys2";
|
||||
version = "2.3.8.1";
|
||||
|
||||
inherit src;
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "codesys2";
|
||||
desktopName = "CoDeSys 2";
|
||||
genericName = "PLC Programming";
|
||||
exec = "codesys2";
|
||||
categories = [ "Development" ];
|
||||
startupWMClass = "codesys.exe";
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
app=$out/share/codesys2
|
||||
install -d $app
|
||||
cp -r . $app/
|
||||
|
||||
makeWrapper ${wine}/bin/wine $out/bin/codesys2 \
|
||||
--add-flags "$app/Codesys.exe"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta.mainProgram = "codesys2";
|
||||
}
|
||||
70
pkgs/codesys2/setup.iss
Normal file
70
pkgs/codesys2/setup.iss
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
[InstallShield Silent]
|
||||
Version=v6.00.000
|
||||
File=Response File
|
||||
[File Transfer]
|
||||
OverwrittenReadOnly=NoToAll
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-DlgOrder]
|
||||
Dlg0={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-MessageBox-0
|
||||
Count=8
|
||||
Dlg1={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdWelcome-0
|
||||
Dlg2={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdAskDestPath-0
|
||||
Dlg3={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdComponentTree-0
|
||||
Dlg4={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdSelectFolder-0
|
||||
Dlg5={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdShowInfoList-0
|
||||
Dlg6={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-MessageBox-1
|
||||
Dlg7={07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdFinish-0
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-MessageBox-0]
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdWelcome-0]
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdAskDestPath-0]
|
||||
szDir=C:\Program Files\3S Software
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdComponentTree-0]
|
||||
szDir=C:\Program Files\3S Software
|
||||
Ko_CoDeSys-type=string
|
||||
Ko_CoDeSys-count=2
|
||||
Ko_CoDeSys-0=Ko_CoDeSys\Neu InstallDialogue Object 1
|
||||
Ko_CoDeSys-1=Ko_CoDeSys\Neu MediaRead 1
|
||||
Ko_Communication\Ko_Gateway-type=string
|
||||
Ko_Communication\Ko_Gateway-count=1
|
||||
Ko_Communication\Ko_Gateway-0=Ko_Communication\Ko_Gateway\Ko_Gateway_ProgSys
|
||||
Ko_Communication-type=string
|
||||
Ko_Communication-count=2
|
||||
Ko_Communication-0=Ko_Communication\Ko_Gateway
|
||||
Ko_Communication-1=Ko_Communication\Ko_OPC
|
||||
Component-type=string
|
||||
Component-count=12
|
||||
Component-0=Ko_CoDeSys
|
||||
Component-1=Ko_CoDeSys Base
|
||||
Component-2=Ko_LicenseManager
|
||||
Component-3=Ko_SoftMotion
|
||||
Component-4=Ko_CoDeSysHMI
|
||||
Component-5=Ko_Communication
|
||||
Component-6=Ko_InstallTarget
|
||||
Component-7=Ko_Link
|
||||
Component-8=Ko_PLCWinNT
|
||||
Component-9=Ko_WebServer
|
||||
Component-10=Ko_CoDeSysINI
|
||||
Component-11=Ko_VersionInfo
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdSelectFolder-0]
|
||||
szFolder=3S Software
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdShowInfoList-0]
|
||||
Result=1
|
||||
[Application]
|
||||
Name=CoDeSys for Automation Alliance
|
||||
Version=2.3.000
|
||||
Company=3S-Smart Software Solutions GmbH
|
||||
Lang=0009
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-MessageBox-1]
|
||||
Result=1
|
||||
[{07976ABB-1EBD-4A65-A7C7-155A0DC17173}-SdFinish-0]
|
||||
Result=1
|
||||
bOpt1=0
|
||||
bOpt2=0
|
||||
[{533A955C-332B-484A-8F78-82FD1E718D04}-DlgOrder]
|
||||
Count=0
|
||||
[{D254075A-A1C7-4E4C-8DCE-8F4B08A8F463}-DlgOrder]
|
||||
Count=0
|
||||
Loading…
Reference in a new issue