-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support/twincat-ads: add ESS ADS driver support (Beckhoff TwinCAT)
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
lib, | ||
epnixLib, | ||
epnix, | ||
mkEpicsPackage, | ||
fetchFromGitLab, | ||
local_config_site ? {}, | ||
local_release ? {}, | ||
}: | ||
mkEpicsPackage rec { | ||
pname = "ads"; | ||
version = "2023.08.20"; | ||
varname = "ADS"; | ||
|
||
inherit local_config_site local_release; | ||
|
||
src = fetchFromGitLab { | ||
domain = "gitlab.esss.lu.se"; | ||
owner = "epics-modules"; | ||
repo = "epics-twincat-ads"; | ||
rev = "f07f73cd20320e40e908ed281527a81a4799bbce"; | ||
fetchSubmodules = true; | ||
sha256 = "sha256-NCuT2EpEBEVMzQw4cU8l0AUYVXa9fUtEOGpynG5Z85M="; | ||
}; | ||
|
||
# Patch used to fix parallelization compilation issue caused by EPNix compare to standard compilation. | ||
# Wait for PR https://gitlab.esss.lu.se/epics-modules/epics-twincat-ads/-/merge_requests/3 | ||
patches = [./fixDep.patch]; | ||
|
||
propagatedBuildInputs = with epnix.support; [asyn calc]; | ||
|
||
preBuild = '' | ||
touch configure/RELEASE_PATHS.local | ||
touch configure/RELEASE_LIBS.local | ||
''; | ||
|
||
meta = { | ||
description = "Module providing EPICS support for ADS Protocol (Automation Device Specification)"; | ||
homepage = "https://gitlab.esss.lu.se/epics-modules/epics-twincat-ads"; | ||
# Wait for ESS team answer about the license : https://gitlab.esss.lu.se/epics-modules/epics-twincat-ads/-/issues/1 | ||
# lib.licenses.free don't work in EPNIX for now | ||
license = epnixLib.licenses.epics; | ||
maintainers = with epnixLib.maintainers; [agaget]; | ||
}; | ||
} |
Empty file.