From fcda199a1c25a6987a1dd42285882a9e0e4da26e Mon Sep 17 00:00:00 2001 From: Sughosha Date: Fri, 21 Feb 2025 14:31:54 +0530 Subject: gnu: Add asyncplusplus. * gnu/packages/cpp.scm (asyncplusplus): New variable. Change-Id: I6ba1b983ce05a634937d0d972e670ce636df3b94 --- gnu/packages/cpp.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 07ec5dace80..a456bf3b51a 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -197,6 +197,33 @@ allocator that makes it easy to generate complex code without a significant development effort.") (license license:zlib)))) +(define-public asyncplusplus + (package + (name "asyncplusplus") + (version "1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Amanieu/asyncplusplus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iswbh7y46kn412c52af0n8bc4fplm3y94yh10n2lchispzar72j")) + (modules '((guix build utils))) + (snippet + ;; Fix install location of cmake files. + '(substitute* "CMakeLists.txt" + (("DESTINATION cmake") + "DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake"))))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f)) ;no tests + (home-page "https://github.com/Amanieu/asyncplusplus") + (synopsis "Concurrency framework for C++11") + (description "Async++ is a concurrency framework for C++11.") + (license license:expat))) + (define-public biblesync (package (name "biblesync") -- cgit v1.3