diff options
author | kitzman <kitzman@disroot.org> | 2022-02-23 20:41:17 +0200 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-30 17:52:37 +0800 |
commit | 48a33bb067685064f481473e5e7542cea59760af (patch) | |
tree | 60720edf50993b571129f56612cc79860ee8cdb6 /gnu | |
parent | 1b7d53dad734aadb479f87943fed0ec01598fad6 (diff) | |
download | guix-48a33bb067685064f481473e5e7542cea59760af.tar.gz guix-48a33bb067685064f481473e5e7542cea59760af.zip |
gnu: Add aml.
* gnu/packages/c.scm (aml): New variable.
Change-Id: I271be102bfa1f2e529d70f1e0029263d624821b8
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/c.scm | 32 |
1 files changed, 32 insertions, 0 deletions
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 <zamfofex@twdb.moe> ;;; Copyright © 2023, 2024 Foundation Devices, Inc. <hello@foundation.xyz> ;;; Copyright © 2023, 2024 David Elsing <david.elsing@posteo.net> +;;; Copyright @ 2022, Kitzman <kitzman@disroot.org> ;;; ;;; 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") |