aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-18 11:56:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-18 12:01:34 +0100
commit8271b8d22a84ded6bfd2a81531116d00347c653c (patch)
tree1afe04be3668cf4bb7c90ed0023e356d95918e4a /gnu/packages/bioinformatics.scm
parentb6313997ad74af0ca11826f66f63e38de1d3cc7e (diff)
downloadgnu-guix-8271b8d22a84ded6bfd2a81531116d00347c653c.tar
gnu-guix-8271b8d22a84ded6bfd2a81531116d00347c653c.tar.gz
gnu: r-seurat: Fix ModularityOptimizer.jar.
* gnu/packages/bioinformatics.scm (r-seurat)[arguments]: Include Main-Class attribute in manifest.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 58421d35e8..99693bd62d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9427,11 +9427,17 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.")
(let ((classesdir "tmp-classes"))
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
(mkdir classesdir)
- (and (zero? (apply system* `("javac" "-d" ,classesdir
- ,@(find-files "java" "\\.java$"))))
- (zero? (system* "jar"
- "-cf" "inst/java/ModularityOptimizer.jar"
- "-C" classesdir ".")))))))))
+
+ (with-output-to-file "manifest"
+ (lambda _
+ (display "Manifest-Version: 1.0
+Main-Class: ModularityOptimizer\n")))
+ (and (zero? (apply system* `("javac" "-d" ,classesdir
+ ,@(find-files "java" "\\.java$"))))
+ (zero? (system* "jar"
+ "-cmf" "manifest"
+ "inst/java/ModularityOptimizer.jar"
+ "-C" classesdir ".")))))))))
(native-inputs
`(("jdk" ,icedtea "jdk")))
(propagated-inputs