[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add rw.
From: |
guix-commits |
Subject: |
02/02: gnu: Add rw. |
Date: |
Mon, 17 Jun 2019 13:47:27 -0400 (EDT) |
andreas pushed a commit to branch master
in repository guix.
commit bf473f0ca0b218e9a93b00234a8f25ba015b8bd3
Author: Andreas Enge <address@hidden>
Date: Mon Jun 17 19:46:29 2019 +0200
gnu: Add rw.
* gnu/packages/graph.scm (rw): New variable.
---
gnu/packages/graph.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index abcb659..8b06aaa 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -476,3 +476,27 @@ isolating planarity obstructions.")
(license license:bsd-3)
(home-page
"https://github.com/graph-algorithms/edge-addition-planarity-suite")))
+
+(define-public rw
+ (package
+ (name "rw")
+ ;; There is a version 0.8, but the tarball is broken with symlinks
+ ;; to /usr/share.
+ (version "0.7")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/rankwidth/"
+ "rw-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rv2v42x2506x7f10349m1wpmmfxrv9l032bkminni2gbip9cjg0"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("igraph" ,igraph)))
+ (home-page "https://sourceforge.net/projects/rankwidth/")
+ (synopsis "Rank-width and rank-decomposition of graphs")
+ (description "rw computes rank-width and rank-decompositions
+of graphs.")
+ (license license:gpl2+)))