rekado pushed a commit to branch wip-python-team
in repository guix.
commit 670dcc8e4c56413d646c034d0c382bd6977992eb
Author: Marco Baggio <[email protected]>
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 <[email protected]>
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 <[email protected]>
;;; Copyright © 2023, 2024 Troy Figiel <[email protected]>
;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2024 Marco Baggio <[email protected]>
;;;
;;; 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")