gnu: Add igraph-for-r-rigraphlib.

* gnu/packages/graph.scm (igraph-for-r-rigraphlib): New variable.

Change-Id: I8b4453cbc602959a6d38eadbcd3c6d8f182dd997
This commit is contained in:
Ricardo Wurmus 2025-04-25 15:19:45 +02:00
parent 307f22f0f2
commit 6a66ac3d1d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017-2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;; Copyright © 2018, 2020, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2021, 2022, 2024 Efraim Flashner <efraim@flashner.co.il>
@ -213,6 +213,27 @@ random and regular graphs, graph visualization, centrality methods and much
more.")
(license license:gpl2+)))
;; This is not really for r-rigraphlib; it is rather to replace the need for
;; 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"))))))
(define-public python-igraph
;; Temporarily use a precise commit, as there was a mistake in the last
;; release that was fixed by it (see: