-
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.
Merge pull request #69 from High-Voltage-Engineering/adsDriver
Add adsDriver and autoparamDriver
- Loading branch information
Showing
4 changed files
with
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,10 @@ See `<nixpkgs/maintainers/scripts/check-maintainer-github-handles.sh>` for an ex | |
email = "[email protected]"; | ||
name = "Stéphane Tzvetkov"; | ||
}; | ||
synthetica = { | ||
email = "[email protected]"; | ||
name = "Patrick Hilhorst"; | ||
github = "Synthetica9"; | ||
githubId = 7075751; | ||
}; | ||
} |
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,36 @@ | ||
{ | ||
mkEpicsPackage, | ||
fetchFromGitHub, | ||
epnix, | ||
boost, | ||
epnixLib, | ||
lib, | ||
}: | ||
mkEpicsPackage rec { | ||
pname = "adsDriver"; | ||
version = "3.1.0"; | ||
|
||
varname = "ADS_DRIVER"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "Cosylab"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
fetchSubmodules = true; | ||
hash = "sha256-Ruzi+H8MmIgv23pzFXZlvkk3HtbDzQ9LTTVzmeGWrSI=="; | ||
}; | ||
|
||
nativeBuildInputs = [boost]; | ||
buildInputs = [boost]; | ||
propagatedBuildInputs = with epnix.support; [ | ||
asyn | ||
autoparamDriver | ||
]; | ||
|
||
meta = { | ||
description = "EPICS support module for integrating Beckhoff PLC using the ADS protocol"; | ||
homepage = "https://epics.cosylab.com/documentation/adsDriver/"; | ||
license = lib.licenses.mit; | ||
maintainers = with epnixLib.maintainers; [synthetica]; | ||
}; | ||
} |
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,29 @@ | ||
{ | ||
mkEpicsPackage, | ||
fetchFromGitHub, | ||
epnix, | ||
lib, | ||
epnixLib, | ||
}: | ||
mkEpicsPackage rec { | ||
pname = "autoparamDriver"; | ||
version = "2.0.0"; | ||
|
||
varname = "AUTOPARAM"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "Cosylab"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-J2fy/pMwrbwVFULfANuJBl6iE3wju5bQkhkxxk8zRYs="; | ||
}; | ||
|
||
propagatedBuildInputs = with epnix.support; [asyn]; | ||
|
||
meta = { | ||
description = "An asyn driver that creates parameters dynamically based on content of record links"; | ||
homepage = "https://epics.cosylab.com/documentation/autoparamDriver/"; | ||
license = lib.licenses.mit; | ||
maintainers = with epnixLib.maintainers; [synthetica]; | ||
}; | ||
} |