From 66685821dccee8bfa116a330d12fd483807383ad Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sat, 4 Nov 2023 15:02:33 +0000 Subject: [PATCH] gnu: Add python-cplot. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-cplot): New variable. Change-Id: I8e634799954b120e00d900ae26b16af1717d4474 Signed-off-by: Ludovic Courtès --- 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 @@ (define-public python-matplotx 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")