guix-commits
[Top][All Lists]
Advanced

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

09/17: gnu: Add python-cplot.


From: guix-commits
Subject: 09/17: gnu: Add python-cplot.
Date: Mon, 4 Dec 2023 16:50:34 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 66685821dccee8bfa116a330d12fd483807383ad
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sat Nov 4 15:02:33 2023 +0000

    gnu: Add python-cplot.
    
    * gnu/packages/python-xyz.scm (python-cplot): New variable.
    
    Change-Id: I8e634799954b120e00d900ae26b16af1717d4474
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index feecbc2aab..c6c5f4603e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8356,6 +8356,31 @@ three-way Venn diagrams in @code{matplotlib}.")
 clean plots with a minimalistic style.")
     (license license:expat)))
 
+(define-public python-cplot
+  (package
+    (name "python-cplot")
+    (version "0.9.3")
+    (source
+     (origin
+       (method git-fetch)   ;for tests
+       (uri (git-reference
+             (url "https://github.com/nschloe/cplot";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zk7hpq358sbympmkms7w2wjs7nw8mdfvkvdasblg2nhqayv42qz"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-matplotlib
+                             python-matplotx
+                             python-npx
+                             python-numpy))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/nschloe/cplot";)
+    (synopsis "Plot complex-valued functions")
+    (description "@code{cplot} is a Python library for plotting
+complex-valued functions.")
+    (license license:gpl3+)))
+
 (define-public python-pysnptools
   (package
     (name "python-pysnptools")



reply via email to

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