gnu: Add jnetlib.

* gnu/packages/cpp.scm (jnetlib): New variable.

Change-Id: I93f4de3dbf13816027482617eafb8e3652dc7b33
This commit is contained in:
Sughosha 2025-08-24 08:30:23 +05:30
parent 17d26dcf8e
commit 7da6ce3ee2
No known key found for this signature in database
GPG key ID: CDBC0BD95943A706

View file

@ -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")