-
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.
feat(support): add mrfioc2 and devlib2 support
- Loading branch information
Showing
4 changed files
with
71 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 |
---|---|---|
|
@@ -62,4 +62,8 @@ See `<nixpkgs/maintainers/scripts/check-maintainer-github-handles.sh>` for an ex | |
email = "[email protected]"; | ||
name = "Stéphane Tzvetkov"; | ||
}; | ||
agaget = { | ||
email = "[email protected]"; | ||
name = "Alexis Gaget"; | ||
}; | ||
} |
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,31 @@ | ||
{ | ||
lib, | ||
epnixLib, | ||
mkEpicsPackage, | ||
fetchFromGitHub, | ||
fetchpatch, | ||
local_config_site ? {}, | ||
local_release ? {}, | ||
}: | ||
mkEpicsPackage rec { | ||
pname = "devlib2"; | ||
version = "2.12"; | ||
varname = "DEVLIB2"; | ||
doCheck = false; | ||
|
||
inherit local_config_site local_release; | ||
|
||
src = fetchFromGitHub { | ||
owner = "epics-modules"; | ||
repo = "devlib2"; | ||
rev = version; | ||
sha256 = "sha256-5rjilz+FO6ZM+Hn7AVwyFG2WWBoBUQA4WW5OHhhdXw4="; | ||
}; | ||
|
||
meta = { | ||
description = "devLib2 - Library for direct MMIO access to PCI and VME64x"; | ||
homepage = "https://github.com/epics-modules/devlib2"; | ||
license = lib.licenses.lgpl21Plus; | ||
maintainers = with epnixLib.maintainers; [agaget]; | ||
}; | ||
} |
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,34 @@ | ||
{ | ||
lib, | ||
epnix, | ||
epnixLib, | ||
mkEpicsPackage, | ||
fetchFromGitHub, | ||
fetchpatch, | ||
local_config_site ? {}, | ||
local_release ? {}, | ||
}: | ||
mkEpicsPackage rec { | ||
pname = "mrfioc2"; | ||
version = "2.5.0"; | ||
varname = "MRFIOC2"; | ||
doCheck = false; | ||
|
||
inherit local_config_site local_release; | ||
|
||
src = fetchFromGitHub { | ||
owner = "epics-modules"; | ||
repo = "mrfioc2"; | ||
rev = version; | ||
sha256 = "sha256-Z7iTM8i5aaA98j46ouuRhgVfRayitv2O4WhFm6ENark="; | ||
}; | ||
|
||
propagatedBuildInputs = with epnix.support; [devlib2]; | ||
|
||
meta = { | ||
description = "Driver EPICS for MRF cards"; | ||
homepage = "https://github.com/epics-modules/mrfioc2"; | ||
license = lib.licenses.lgpl21Plus; | ||
maintainers = with epnixLib.maintainers; [agaget]; | ||
}; | ||
} |