diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-04-25 15:19:45 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-05-12 08:54:06 +0200 |
commit | 6a66ac3d1d62766d6676423f966e14c8d583c943 (patch) | |
tree | 06a0928a1c373b49e2f63c150290c22f77364b66 | |
parent | 307f22f0f237c02cb19c7346eea3eeb99c226290 (diff) |
gnu: Add igraph-for-r-rigraphlib.
* gnu/packages/graph.scm (igraph-for-r-rigraphlib): New variable.
Change-Id: I8b4453cbc602959a6d38eadbcd3c6d8f182dd997
-rw-r--r-- | gnu/packages/graph.scm | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 9cca8520ba..ab8594eefb 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -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: |