aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarco Baggio <marco.baggio@mdc-berlin.de>2024-04-29 14:09:41 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:15 +0200
commit670dcc8e4c56413d646c034d0c382bd6977992eb (patch)
tree6f8ee7f2845876bd378b7a208a1d30ef9941969a /gnu/packages
parentc4eccd20664a0f9d9134d98a5b430f67e84176c7 (diff)
downloadguix-670dcc8e4c56413d646c034d0c382bd6977992eb.tar.gz
guix-670dcc8e4c56413d646c034d0c382bd6977992eb.zip
gnu: Add python-fastcluster.
* gnu/packages/python-science.scm (python-fastcluster): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Ifc5229a4d00f581eb358a1f41fc3479fd1c33c2e
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-science.scm21
1 files changed, 21 insertions, 0 deletions
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")