GNU bug report logs - #72348
[PATCH] gnu: Add libcsptr.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Mon, 29 Jul 2024 06:33:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 72348 <at> debbugs.gnu.org
Subject: [bug#72348] [PATCH] gnu: Add libcsptr.
Date: Wed, 10 Jul 2024 10:27:46 +0200
* gnu/packages/c.scm (libcsptr): New variable.

Change-Id: I47e34191047df0a171a78a11f9ba2ebef4a8c37a
---
 gnu/packages/c.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d13b62b..2f7b3bb 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -527,6 +527,26 @@ (define-public libhx
 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.
--
libgit2 1.5.2





This bug report was last modified 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.