diff --git a/pkgs/default.nix b/pkgs/default.nix index 547eed24..d1dc2626 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -31,6 +31,7 @@ in support = recurseExtensible (_self: { asyn = callPackage ./epnix/support/asyn {}; + autoparamDriver = callPackage ./epnix/support/autoparamDriver {}; autosave = callPackage ./epnix/support/autosave {}; calc = callPackage ./epnix/support/calc {}; devlib2 = callPackage ./epnix/support/devlib2 {}; diff --git a/pkgs/epnix/support/autoparamDriver/default.nix b/pkgs/epnix/support/autoparamDriver/default.nix new file mode 100644 index 00000000..359b20a4 --- /dev/null +++ b/pkgs/epnix/support/autoparamDriver/default.nix @@ -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]; + }; +}