Skip to content

Commit

Permalink
Merge pull request #65 from epics-extensions/feat-add-busy-support
Browse files Browse the repository at this point in the history
add EPICS module support busy
  • Loading branch information
minijackson authored Apr 29, 2024
2 parents 97fab50 + f801fe1 commit 7339827
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ in
asyn = callPackage ./epnix/support/asyn {};
autoparamDriver = callPackage ./epnix/support/autoparamDriver {};
autosave = callPackage ./epnix/support/autosave {};
busy = callPackage ./epnix/support/busy {};
calc = callPackage ./epnix/support/calc {};
devlib2 = callPackage ./epnix/support/devlib2 {};
epics-systemd = callPackage ./epnix/support/epics-systemd {};
Expand Down
33 changes: 33 additions & 0 deletions pkgs/epnix/support/busy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
epnixLib,
mkEpicsPackage,
fetchFromGitHub,
epnix,
local_config_site ? {},
local_release ? {},
}:
mkEpicsPackage rec {
pname = "busy";
version = "1-7-4";
varname = "BUSY";

inherit local_config_site local_release;

src = fetchFromGitHub {
owner = "epics-modules";
repo = "busy";
rev = "R${version}";
sha256 = "sha256-mSzFLj42iXkyWGWaxplfLehoQcULLpf745trYMd1XT4=";
};

patches = [./fix-release.patch];

buildInputs = with epnix.support; [calc asyn autosave];

meta = {
description = "APS BCDA synApps module: busy";
homepage = "https://epics.anl.gov/bcda/synApps/busy/busy.html";
license = epnixLib.licenses.epics;
maintainers = with epnixLib.maintainers; [agaget];
};
}
13 changes: 13 additions & 0 deletions pkgs/epnix/support/busy/fix-release.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/configure/RELEASE b/configure/RELEASE
index 4d24f2c..61a1d60 100644
--- a/configure/RELEASE
+++ b/configure/RELEASE
@@ -13,7 +13,7 @@ ASYN=$(SUPPORT)/asyn-4-33
AUTOSAVE=$(SUPPORT)/autosave-5-9

# BUSY is this module
-BUSY=$(SUPPORT)/busy-1-7
+# BUSY=$(SUPPORT)/busy-1-7

# EPICS_BASE usually appears last so other apps can override stuff:
EPICS_BASE=/corvette/usr/local/epics-devel/base-7.0.2

0 comments on commit 7339827

Please sign in to comment.