guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: Add python-pynrrd.


From: guix-commits
Subject: 01/04: gnu: Add python-pynrrd.
Date: Tue, 6 Feb 2024 16:20:42 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 36f5db706c22d7d643154fc841d0a4018195189b
Author: Antero Mejr <antero@mailbox.org>
AuthorDate: Thu Jun 16 18:37:16 2022 +0000

    gnu: Add python-pynrrd.
    
    * gnu/packages/python-science.scm (python-pynrrd): New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/python-science.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 2b4e74f9be..d2404529bc 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2600,6 +2600,32 @@ networking protocol.  It allows the easy creation of 
DICOM
 Providers}.")
     (license license:expat)))
 
+(define-public python-pynrrd
+  (package
+    (name "python-pynrrd")
+    (version "0.4.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/mhe/pynrrd";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12vlgx2k7jxbq9r9maiix4dbk8alixa0il420bqwhzln08s3chz1"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (delete 'ensure-no-mtimes-pre-1980))))
+    (propagated-inputs (list python-numpy))
+    (home-page "https://github.com/mhe/pynrrd";)
+    (synopsis "Python module for reading and writing NRRD files")
+    (description
+     "@code{pynrrd} is a Python module for reading and writing NRRD
+files into and from numpy arrays.")
+    (license license:expat)))
+
 (define-public python-libneuroml
   (package
     (name "python-libneuroml")



reply via email to

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