all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 72348@debbugs.gnu.org
Subject: [bug#72348] [PATCH] gnu: Add libcsptr.
Date: Wed, 10 Jul 2024 10:27:46 +0200	[thread overview]
Message-ID: <ed203ffe46325e4c6548da13fc54645ae3340c22.camel@gmail.com> (raw)

* 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





             reply	other threads:[~2024-07-29  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10  8:27 Liliana Marie Prikler [this message]
2024-08-04  6:02 ` bug#72348: [PATCH] gnu: Add libcsptr Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed203ffe46325e4c6548da13fc54645ae3340c22.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=72348@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.