diff options
author | pjotrp | 2017-09-12 03:45:39 +0000 |
---|---|---|
committer | pjotrp | 2017-09-12 03:45:39 +0000 |
commit | 25ea4dc46c0acdba0114bdcbdb5d63b0cac8bb44 (patch) | |
tree | c1b65610ff69dd5264666ff2b03d22f1c9325626 /gn | |
parent | da8185eedd20c3ba34d62d3134db559db8fed0f4 (diff) | |
download | guix-bioinformatics-25ea4dc46c0acdba0114bdcbdb5d63b0cac8bb44.tar.gz |
YAJ package start
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/yaj.scm | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/gn/packages/yaj.scm b/gn/packages/yaj.scm new file mode 100644 index 0000000..90959c7 --- /dev/null +++ b/gn/packages/yaj.scm @@ -0,0 +1,91 @@ +(define-module (gn packages yaj) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) + #:use-module (guix build-system perl) + #:use-module (guix build-system python) + ;; #:use-module (guix build-system ruby) + #:use-module (guix build-system r) + #:use-module (guix build-system trivial) + #:use-module (gnu packages) + #:use-module (gnu packages algebra) + #:use-module (gnu packages base) + #:use-module (gnu packages bioinformatics) + #:use-module (gnu packages boost) + #:use-module (gnu packages compression) + #:use-module (gnu packages databases) + #:use-module (gnu packages cpio) + #:use-module (gnu packages file) + #:use-module (gnu packages gcc) + #:use-module (gnu packages graphviz) + #:use-module (gnu packages java) + #:use-module (gnu packages linux) + #:use-module (gnu packages ldc) + #:use-module (gnu packages machine-learning) + #:use-module (gnu packages maths) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) + #:use-module (gnu packages protobuf) + #:use-module (gnu packages python) + #:use-module (gnu packages statistics) + #:use-module (gnu packages tbb) + #:use-module (gnu packages textutils) + #:use-module (gnu packages vim) + #:use-module (gnu packages web) + #:use-module (gnu packages xml) + #:use-module (gnu packages bootstrap) + #:use-module (gnu packages version-control) + #:use-module (gn packages bioinformatics) + #:use-module (gn packages gemma) + #:use-module (gn packages javascript) + #:use-module (gn packages phewas) + #:use-module (gn packages python) + #:use-module (gn packages statistics) + #:use-module (srfi srfi-1)) + + +(define-public yaj + (let ((md5 "93e745e9c")) + (package + (name "yaj") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri "http://files.genenetwork.org/raw_database/md5sum.txt") ; any old file + (file-name (string-append name "-" md5)) + (sha256 + (base32 "1cnkiwid4h0nnf93rm647ji9vhfzjl23arp1xj374la7mmic9jqs")))) + (build-system trivial-build-system) + (native-inputs `(("unzip" ,unzip) + ("source" ,source))) + (inputs `(("python" ,python))) + ; ("python2-flask" ,python2-flask) + ; ("python2-jinja2" ,python2-jinja2) + ; ("python2-mak" ,python2-mak) + ; )) + + ; (arguments + ; `(#:modules ((guix build utils)) + ; #:python ,python-2 + ; #:builder #f)) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((source (assoc-ref %build-inputs "source")) + (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")) + ) + (and (mkdir "db") + (zero? (system* unzip source "-d" "db")) + (chdir "db")))))) + (home-page "http://github.com/pjotrp/yaj/") + (synopsis "Yet another journal") + (description "YAJ.") + (license license:agpl3+)))) |