diff options
| author | Sughosha <sughosha@disroot.org> | 2025-08-24 08:46:40 +0530 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2025-10-08 13:02:02 +0530 |
| commit | 4b0385f82a4010b40b58b331fc79c93bc6309ef4 (patch) | |
| tree | 0faaeb51f85181353378f52ad342f479603e8f49 /gnu/packages/cpp.scm | |
| parent | 7da6ce3ee23d5c0b39eeffa2e2827beabb0d3a8b (diff) | |
gnu: Add eel2.
* gnu/packages/cpp.scm (eel2): New variable.
Change-Id: I33626ba2480c754932614fb695884156b68cfea1
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 55655f926b2..4bfaac6a7ec 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -82,6 +82,7 @@ #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages assembly) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -3891,6 +3892,45 @@ features: @item Completely asynchronous love for single threaded apps. @end itemize"))) +(define-public eel2 + (package + (inherit swell) + (name "eel2") + (arguments + (substitute-keyword-arguments (package-arguments swell) + ((#:tests? _ #t) #f) ;no tests + ;; FIXME: Remove this flag when this issue will be fixed: + ;; https://github.com/justinfrankel/WDL/issues/32. + ((#:make-flags _ '()) #~'("NO_GFX=1")) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'change-directory + (lambda _ (chdir "WDL/eel2"))) + (replace 'install + (lambda _ + ;; Install executable files. + (for-each (lambda (file) + (install-file file + (string-append #$output "/bin"))) + '("eel_pp" "loose_eel")) + ;; Install headers. + (for-each (lambda (file) + (install-file file + (string-append #$output + "/include/EEL2"))) + (find-files "." "\\.h$")) + ;; Install scripts. + (copy-recursively "scripts" + (string-append #$output + "/share/EEL2/scripts")))))))) + (native-inputs (list nasm)) + (inputs (list jnetlib)) + (home-page "https://www.cockos.com/EEL2/") + (synopsis "Expression evaluation library") + (description + "EEL2 is an expression evaluation library and realtime compiler based on +@uref{http://1014.org/code/nullsoft/avs/, AVS's EEL}."))) + (define-public juce (package (name "juce") |
