guix-commits
[Top][All Lists]
Advanced

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

06/17: gnu: Add python-meshzoo.


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

civodul pushed a commit to branch master
in repository guix.

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

    gnu: Add python-meshzoo.
    
    * gnu/packages/python-science.scm (python-meshzoo): New variable.
    
    Change-Id: Ia41d62ebd6c4cb3c22ebe0668c36279a9ca191ac
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-science.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 949cd11929..e836235a6b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2021 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
 ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021, 2023 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
@@ -420,6 +420,31 @@ manipulation and analysis, in the style of the Polygon 
object in the Shapely
 library.")
     (license license:expat)))
 
+(define-public python-meshzoo
+  (package
+    (name "python-meshzoo")
+    (version "0.9.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/diego-hayashi/meshzoo";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "107byfppbq16fqyp2hw7ydcvvahspzq0hzvlvzqg2zxi1aigbr68"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+      (list python-numpy))
+    (native-inputs (list python-flit-core python-matplotlib python-pytest))
+    (home-page "https://github.com/diego-hayashi/meshzoo";)
+    (synopsis "Mesh generator for simple geometries")
+    (description
+      "@code{meshzoo} is a mesh generator for finite element or finite
+volume computations for simple domains like regular polygons, disks,
+spheres, cubes, etc.")
+    (license license:gpl3+)))
+
 (define-public python-tspex
   (package
     (name "python-tspex")



reply via email to

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