diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-07-10 10:27:46 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-08-02 18:30:48 +0200 |
commit | b2331b3b79cc27c1fabb2949cbdb15c49986b6a5 (patch) | |
tree | 27c99858d325c19399e3720c16272d3699ee6e28 | |
parent | b20956651a53a8f23828fdeb6945e1a31e6997a8 (diff) | |
download | guix-b2331b3b79cc27c1fabb2949cbdb15c49986b6a5.tar.gz |
gnu: Add libcsptr.
* gnu/packages/c.scm (libcsptr): New variable. Change-Id: I47e34191047df0a171a78a11f9ba2ebef4a8c37a
-rw-r--r-- | gnu/packages/c.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index a7ac359a94..87d3df193e 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -559,6 +559,26 @@ string formatting and autoresizing, option and config file parsing, type checking casts and more.") (license license:lgpl2.1+))) +(define-public libcsptr + (package + (name "libcsptr") + (version "2.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Snaipe/libcsptr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "056yg1irxi90ccgf646jxzngbsm946ckyzn8ykl92h6d2mnr141a")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake libtool)) + (home-page "https://snai.pe/c/c-smart-pointers/") + (synopsis "Smart pointers for GNU C") + (description "This package is an attempt at bringing smart pointers +like C++'s unique_ptr and shared_ptr to C through GCC's cleanup attribute.") + (license license:expat))) + (define-public libwuya ;; This commit is the one before "wuy_pool.h" was removed from libwuya, ;; which libleak currently requires. |