From 76fb1a5cf29c3ecf189776eb16db4fcb89bb1939 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 25 Apr 2021 03:26:05 +0000 Subject: gnu: Add python-louvain 0.15. * gnu/packages/graph.scm (python-louvain): Rename variable to python-louvain-0.6. (python-louvain): New variable. * gnu/packages/bioinformatics.scm (python-scanpy)[propagated-inputs]: Use python-louvain-0.6. Co-authored-by: Leo Famulari --- gnu/packages/graph.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/graph.scm') diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index d2e4c875a1..95506c69a9 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2019 Andreas Enge ;;; Copyright © 2020 Alexander Krotov ;;; Copyright © 2020 Pierre Langlois +;;; Copyright © 2021 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -229,6 +230,27 @@ subplots, multiple-axes, polar charts, and bubble charts. ") (package-with-python2 python-plotly-2.4.1)) (define-public python-louvain + (package + (name "python-louvain") + (version "0.15") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-louvain" version)) + (sha256 + (base32 "1sqp97fwh4asx0jr72x8hil8z8fcg2xq92jklmh2m599pvgnx19a")))) + (build-system python-build-system) + (propagated-inputs + `(("python-networkx" ,python-networkx) + ("python-numpy" ,python-numpy))) + (home-page "https://github.com/taynaud/python-louvain") + (synopsis "Louvain algorithm for community detection") + (description + "This package provides a pure Python implementation of the Louvain +algorithm for community detection in large networks.") + (license license:bsd-3))) + +(define-public python-louvain-0.6 (package (name "python-louvain") (version "0.6.1") -- cgit v1.2.3