diff --git a/lib/maintainers/maintainer-list.nix b/lib/maintainers/maintainer-list.nix index 0061c4fb..a324399d 100644 --- a/lib/maintainers/maintainer-list.nix +++ b/lib/maintainers/maintainer-list.nix @@ -62,4 +62,8 @@ See `` for an ex email = "stephane.tzvetkov@cea.fr"; name = "Stéphane Tzvetkov"; }; + agaget = { + email = "alexis.gaget@cea.fr"; + name = "Alexis Gaget"; + }; } diff --git a/pkgs/default.nix b/pkgs/default.nix index 54a8b087..4382fb9c 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -28,6 +28,7 @@ in asyn = callPackage ./epnix/support/asyn {}; autosave = callPackage ./epnix/support/autosave {}; calc = callPackage ./epnix/support/calc {}; + devlib2 = callPackage ./epnix/support/devlib2 {}; epics-systemd = callPackage ./epnix/support/epics-systemd {}; ipac = callPackage ./epnix/support/ipac {}; modbus = callPackage ./epnix/support/modbus {}; diff --git a/pkgs/epnix/support/devlib2/default.nix b/pkgs/epnix/support/devlib2/default.nix new file mode 100644 index 00000000..2dc3f4ed --- /dev/null +++ b/pkgs/epnix/support/devlib2/default.nix @@ -0,0 +1,32 @@ +{ + lib, + epnixLib, + mkEpicsPackage, + fetchFromGitHub, + fetchpatch, + local_config_site ? {}, + local_release ? {}, +}: +mkEpicsPackage rec { + pname = "devlib2"; + version = "2.12"; + varname = "DEVLIB2"; + #tests seems to need a PCI device to be validated. + 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 = epnixLib.licenses.epics; + maintainers = with epnixLib.maintainers; [agaget]; + }; +}