diff options
| author | Sughosha <sughosha@disroot.org> | 2025-08-24 08:30:23 +0530 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2025-10-08 13:02:02 +0530 |
| commit | 7da6ce3ee23d5c0b39eeffa2e2827beabb0d3a8b (patch) | |
| tree | 865241e2c525585fefd64e6e8af239e870aa1d84 | |
| parent | 17d26dcf8e480f49802c5df9bbce9249b34c2c76 (diff) | |
gnu: Add jnetlib.
* gnu/packages/cpp.scm (jnetlib): New variable.
Change-Id: I93f4de3dbf13816027482617eafb8e3652dc7b33
| -rw-r--r-- | gnu/packages/cpp.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 653ac7df93c..55655f926b2 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -3858,6 +3858,39 @@ common controls and win32-style extensions.") "This package provides the default @code{libSwell.colortheme} file for programs that use @code{swell}."))) +(define-public jnetlib + (package + (inherit swell) + (name "jnetlib") + (arguments + (substitute-keyword-arguments (package-arguments swell) + ((#:tests? _ #t) #t) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'change-directory + (lambda _ (chdir "WDL/jnetlib"))) + (replace 'install + (lambda _ + (install-file "jnl.a" (string-append #$output "/lib")) + (for-each (lambda (file) + (install-file file (string-append #$output + "/include" + "/jnetlib"))) + (find-files "." "\\.h")))))))) + (native-inputs '()) + (inputs '()) + (synopsis "C++ asynchronous network abstraction layer") + (description + "JNetLib is a portable C++ asynchronous network abstraction layer. It +features: +@itemize +@item TCP connections support, +@item listening sockets support, +@item asynchronous DNS support, +@item HTTP serving and getting support, +@item Completely asynchronous love for single threaded apps. +@end itemize"))) + (define-public juce (package (name "juce") |
