From 1bae661f4adb951b4a9a8825cfc91063baa15f4c Mon Sep 17 00:00:00 2001 From: Alexis Gaget Date: Wed, 20 Dec 2023 17:41:28 +0100 Subject: [PATCH] Alejandra formatting applied --- pkgs/epnix/support/ads/default.nix | 74 +++++++++++++++--------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/pkgs/epnix/support/ads/default.nix b/pkgs/epnix/support/ads/default.nix index b6880fbe..a82f4550 100644 --- a/pkgs/epnix/support/ads/default.nix +++ b/pkgs/epnix/support/ads/default.nix @@ -1,41 +1,41 @@ -{ - lib, - epnixLib, - epnix, - mkEpicsPackage, - fetchFromGitLab, - local_config_site ? {}, - local_release ? {}, - }: - mkEpicsPackage rec { - pname = "ads"; - version = "2023.08.20"; - varname = "ADS"; - - inherit local_config_site local_release; +{ + lib, + epnixLib, + epnix, + mkEpicsPackage, + fetchFromGitLab, + local_config_site ? {}, + local_release ? {}, +}: +mkEpicsPackage rec { + pname = "ads"; + version = "2023.08.20"; + varname = "ADS"; - doCheck = false; - propagatedBuildInputs = with epnix.support; [asyn calc]; + inherit local_config_site local_release; - preBuild = '' - touch configure/RELEASE_PATHS.local - touch configure/RELEASE_LIBS.local - ''; - src = fetchFromGitLab { - domain = "gitlab.esss.lu.se"; - owner = "epics-modules"; - repo = "epics-twincat-ads"; - rev = "f07f73cd20320e40e908ed281527a81a4799bbce"; - fetchSubmodules = true; - sha256 = "sha256-NCuT2EpEBEVMzQw4cU8l0AUYVXa9fUtEOGpynG5Z85M="; - }; + doCheck = false; + propagatedBuildInputs = with epnix.support; [asyn calc]; - patches = [./fixDep.patch]; + preBuild = '' vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html + touch configure/RELEASE_PATHS.local + touch configure/RELEASE_LIBS.local + ''; + src = fetchFromGitLab { + domain = "gitlab.esss.lu.se"; + owner = "epics-modules"; + repo = "epics-twincat-ads"; + rev = "f07f73cd20320e40e908ed281527a81a4799bbce"; + fetchSubmodules = true; + sha256 = "sha256-NCuT2EpEBEVMzQw4cU8l0AUYVXa9fUtEOGpynG5Z85M="; + }; - meta = { - description = "Module providing EPICS support for ADS Protocol (Automation Device Specification)"; - homepage = "https://www.beckhoff.com/en-en/products/automation/twincat/tc1xxx-twincat-3-base/tc1000.html"; - license = epnixLib.licenses.epics; - maintainers = with epnixLib.maintainers; [agaget]; - }; - } + patches = [./fixDep.patch]; + + meta = { + description = "Module providing EPICS support for ADS Protocol (Automation Device Specification)"; + homepage = "https://www.beckhoff.com/en-en/products/automation/twincat/tc1xxx-twincat-3-base/tc1000.html"; + license = epnixLib.licenses.epics; + maintainers = with epnixLib.maintainers; [agaget]; + }; +}