guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/47: gnu: Add python-cppy.


From: guix-commits
Subject: 18/47: gnu: Add python-cppy.
Date: Wed, 10 Jan 2024 13:53:22 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit 6a8e77184119936ad19506bac07d25d9dd313e8b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 8 19:46:02 2024 +0100

    gnu: Add python-cppy.
    
    * gnu/packages/python-xyz.scm (python-cppy): New variable.
    
    Change-Id: I584fcddc3430960098d65f1916278a7473249a87
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a473dd063b..3450290928 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8420,6 +8420,25 @@ clean plots with a minimalistic style.")
 complex-valued functions.")
     (license license:gpl3+)))
 
+(define-public python-cppy
+  (package
+    (name "python-cppy")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cppy" version))
+       (sha256
+        (base32 "06zysv86j7wqb1rl88ab4clbjf7iahhv9gfyqlasr18hggqkpd43"))))
+    (build-system pyproject-build-system)
+    (home-page "https://github.com/nucleic/cppy";)
+    (synopsis "C++ header library for Python extension modules")
+    (description "This package is a small C++ header library which makes it
+easier to write Python extension modules.  The primary feature is a
+@code{PyObject} smart pointer which automatically handles reference counting
+and provides convenience methods for performing common object operations.")
+    (license license:bsd-3)))
+
 (define-public python-perfplot
   (package
     (name "python-perfplot")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]