aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-01-11 14:02:14 +0300
committerPjotr Prins2016-01-11 14:02:14 +0300
commitd8bb45c70b74348b8b7db0a64a69b73a5db6d8e3 (patch)
treee1f94df5404147cf5b99253cf9997d9d3252aea4
parent4378f6f6cfb34389070410d1bd9a0505ed29f541 (diff)
downloadguix-bioinformatics-d8bb45c70b74348b8b7db0a64a69b73a5db6d8e3.tar.gz
Added package for modules
-rw-r--r--gn/packages/tcl.scm50
1 files changed, 50 insertions, 0 deletions
diff --git a/gn/packages/tcl.scm b/gn/packages/tcl.scm
new file mode 100644
index 0000000..9b1cb5a
--- /dev/null
+++ b/gn/packages/tcl.scm
@@ -0,0 +1,50 @@
+
+(define-module (gn packages tcl)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system perl)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages tcl)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages xorg)
+ #:use-module (guix licenses))
+
+(define-public environment-modules
+ (package
+ (name "environment-modules")
+ (version "3.2.10")
+ (source
+ (origin
+ (method url-fetch)
+ ;; Would be nice to have a versioned download URL
+ (uri "http://sourceforge.net/projects/modules/files/latest/download?source=directory")
+ (sha256
+ (base32
+ "0m9rn1vr9acvc3qh9rdwnxlkzchdrbqajdvpv6hhay27hcmch1gv"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("tcl" ,tcl)))
+ (arguments
+ '(#:configure-flags
+ (let ((out (assoc-ref %outputs "out"))
+ (tcl (assoc-ref %build-inputs "tcl")))
+ (list (string-append "--with-tcl=" tcl "/lib")
+ (string-append "--with-tclinclude=" tcl "/include")
+ (string-append "--exec-prefix=" out)
+ (string-append "--disable-versioning")
+ (string-append "--mandir=" out "/share/man")
+ "CPPFLAGS=-DUSE_INTERP_ERRORLINE"))
+ #:tests? #f))
+
+ (home-page "")
+ (synopsis "Tool for managing the shell environment")
+ (description
+ "The Environment Modules system is a tool to help users manage
+their Unix or Linux shell environment, by allowing groups of related
+environment-variable settings to be made or removed dynamically.")
+ (license gpl2)))
+