summaryrefslogtreecommitdiff
path: root/gnu/packages/graph.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/graph.scm')
-rw-r--r--gnu/packages/graph.scm55
1 files changed, 28 insertions, 27 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 239910ad1a..bff0af6814 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -8,10 +8,11 @@
;;; Copyright © 2020 Pierre Langlois <pierre.langlos@gmx.com>
;;; Copyright © 2021, 2023, 2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
-;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2023 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2025 Mark Walker <mark.damon.walker@gmail.com>
+;;; Copyright © 2025 Tiago de Paula Peixoto <tiago@skewed.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -221,22 +222,23 @@ more.")
;; r-rigraphlib, which is merely repackaging igraph as a static library for
;; use with R packages.
(define-public igraph-for-r-rigraphlib
- (package
- (inherit igraph)
- (name "igraph")
- (version "0.10.15")
- (source
- (origin
- (inherit (package-source igraph))
- (patches '())
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/igraph/igraph")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0z9jqvl65j4z6brrjlfyykba2bs10az6dx6m8g41snlfnx21a82d"))))))
+ (hidden-package
+ (package
+ (inherit igraph)
+ (name "igraph")
+ (version "0.10.15")
+ (source
+ (origin
+ (inherit (package-source igraph))
+ (patches '())
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/igraph/igraph")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0z9jqvl65j4z6brrjlfyykba2bs10az6dx6m8g41snlfnx21a82d")))))))
(define-public python-igraph
(package
@@ -318,10 +320,9 @@ lines.")
(sha256
(base32 "0sx53l555rwq0z7if8agirjgw4ddp8r9b949wwz8vlig03sjvfmp"))))
(build-system pyproject-build-system)
- (native-inputs
- (list python-setuptools python-wheel))
- (propagated-inputs
- (list python-networkx python-numpy))
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-networkx python-numpy))
(home-page "https://github.com/taynaud/python-louvain")
(synopsis "Louvain algorithm for community detection")
(description
@@ -418,11 +419,11 @@ graphs in Python.")
(propagated-inputs (list python-igraph))
(inputs (list igraph))
(native-inputs
- (list python-ddt
+ (list pkg-config
+ python-ddt
+ python-pytest
python-setuptools
- python-setuptools-scm
- python-wheel
- pkg-config))
+ python-setuptools-scm))
(home-page "https://github.com/vtraag/louvain-igraph")
(synopsis "Implementation of the Louvain algorithm")
(description "This package implements the Louvain algorithm for community
@@ -817,7 +818,7 @@ transformed into common image formats for display or printing.")
(define-public python-graph-tool
(package
(name "python-graph-tool")
- (version "2.59")
+ (version "2.98")
(source (origin
(method url-fetch)
(uri (string-append
@@ -825,7 +826,7 @@ transformed into common image formats for display or printing.")
version ".tar.bz2"))
(sha256
(base32
- "1bmck5fcihj9lr5kd8x624bdi9xhfc13pl4mwzv74jr5lz07kr6d"))))
+ "09y5djq70y73anfmx50xalvg1s6pqvh5zrzf94vh8pvzjf5r9wgf"))))
(build-system gnu-build-system)
(arguments
(list