diff options
author | Pjotr Prins | 2019-08-01 08:59:33 -0500 |
---|---|---|
committer | Pjotr Prins | 2019-08-01 08:59:33 -0500 |
commit | a5a1e75c1379d9c26c0a0f9dbb9fb069c7bf7f18 (patch) | |
tree | 198824fa4435adb7bc850f129fff600d607eaa22 /gn/packages/graphviz.scm | |
parent | fd06a7a744cb2368d410e131b4f8c6bc7738cc94 (diff) | |
parent | 25db4463972bc8729436d84d8be003ea7eacad71 (diff) | |
download | guix-bioinformatics-a5a1e75c1379d9c26c0a0f9dbb9fb069c7bf7f18.tar.gz |
Merge branch 'master' of gitlab.com:genenetwork/guix-bioinformatics
Diffstat (limited to 'gn/packages/graphviz.scm')
-rw-r--r-- | gn/packages/graphviz.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gn/packages/graphviz.scm b/gn/packages/graphviz.scm new file mode 100644 index 0000000..81e745c --- /dev/null +++ b/gn/packages/graphviz.scm @@ -0,0 +1,45 @@ +(define-module (gn packages graphviz) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (gn packages python24) + #:use-module (gnu packages gl) + #:use-module (gnu packages graphviz) + #:use-module (gnu packages gtk) + #:use-module (srfi srfi-1)) + +(define-public graphviz-2.26 + (package + (inherit graphviz) + (name "graphviz") + (version "2.26.3") + (outputs '("out")) + (source + (origin + (method url-fetch) + (uri (string-append + ;; TODO: Replace with official release + "mirror://debian/pool/main/g/graphviz/" + "graphviz_" version ".orig.tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18bzyg17ni0lpcd2g5dhan8fjv3vzkjym38jq8vm42did5p9j47l")))) + ;; TODO: unbundle libraries? + (arguments + `(#:configure-flags '("--enable-python24=yes") + ,@(substitute-keyword-arguments (package-arguments graphviz) + ((#:phases phases) + `(modify-phases ,phases + (delete 'move-docs) ; one output + (delete 'move-guile-bindings)))))) + (inputs + ;; TODO: Add(?) perl, guile@1.8, gtk@2, lua5.1, tcl8.[3-6], rsvg + `(("gdk-pixbuf" ,gdk-pixbuf) + ;("ghostscript" ,ghostscript) + ("freeglut" ,freeglut) + ("python2.4" ,python-2.4) + ,@(fold alist-delete (package-inputs graphviz) + '("libjpeg" "guile")))) + (license license:cpl1.0))) |