z572 pushed a commit to branch master
in repository guix.

commit 48a33bb067685064f481473e5e7542cea59760af
Author: kitzman <[email protected]>
AuthorDate: Wed Feb 23 20:41:17 2022 +0200

    gnu: Add aml.
    
    * gnu/packages/c.scm (aml): New variable.
    
    Change-Id: I271be102bfa1f2e529d70f1e0029263d624821b8
---
 gnu/packages/c.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d13b62b5e2..4b681c6a35 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2023 zamfofex <[email protected]>
 ;;; Copyright © 2023, 2024 Foundation Devices, Inc. <[email protected]>
 ;;; Copyright © 2023, 2024 David Elsing <[email protected]>
+;;; Copyright @ 2022, Kitzman <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,6 +48,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix store)
   #:use-module (gnu packages)
@@ -401,6 +403,36 @@ language as input.")
 Python.")
     (license license:bsd-3)))
 
+(define-public aml
+  (package
+    (name "aml")
+    (version "0.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/any1/aml";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0mxmzlhiv88hm4sf8kyawyrml8qy1xis019hdyb5skl9g95z9yyf"))))
+    (build-system meson-build-system)
+    (native-inputs
+     (list pkg-config))
+    (home-page "https://github.com/any1/aml";)
+    (synopsis "Another/Andri's main loop")
+    (description "The @code{aml} library provides a portable event loop for C,
+with the following features:
+@enumerate
+@item file descriptor event handlers
+@item timers and tickers
+@item signal handlers
+@item idle dispatch callbacks
+@item thread pool support
+@end enumerate
+")
+    (license license:isc)))
+
 (define-public libbytesize
   (package
     (name "libbytesize")

Reply via email to