guix-commits
[Top][All Lists]
Advanced

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

16/64: gnu: Add python-fastcluster.


From: guix-commits
Subject: 16/64: gnu: Add python-fastcluster.
Date: Thu, 2 May 2024 10:52:24 -0400 (EDT)

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

commit c4ea8f9fa2d809166ff286fd2698d84ff90e1967
Author: Marco Baggio <marco.baggio@mdc-berlin.de>
AuthorDate: Mon Apr 29 14:09:41 2024 +0200

    gnu: Add python-fastcluster.
    
    * gnu/packages/python-science.scm (python-fastcluster): New variable.
    
    Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
    Change-Id: Ifc5229a4d00f581eb358a1f41fc3479fd1c33c2e
---
 gnu/packages/python-science.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b485a2ecd8..190dca5d06 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Marco Baggio <marco.baggio@mdc-berlin.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1230,6 +1231,26 @@ region of practical equivalence (rope), or that the 
second classifier has
 higher scores.")
     (license license:expat)))
 
+(define-public python-fastcluster
+  (package
+    (name "python-fastcluster")
+    (version "1.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fastcluster" version))
+       (sha256
+        (base32 "19labbgnq85p4r4jbli2p045lgh57larhi2g2anagfxnlzpqdf5a"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy))
+    (native-inputs (list python-scipy))
+    (home-page "https://danifold.net/fastcluster.html";)
+    (synopsis "Fast hierarchical clustering routines for R and Python")
+    (description "The fastcluster package implements seven common hierarchical
+clustering schemes efficiently.  The package is made with two interfaces to
+standard software: R and Python.")
+    (license license:bsd-2)))
+
 (define-public python-fbpca
   (package
     (name "python-fbpca")



reply via email to

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