-
Notifications
You must be signed in to change notification settings - Fork 6
/
guix.scm
executable file
·40 lines (36 loc) · 1.35 KB
/
guix.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;; Use this to build a Guix package from the current git checkout.
;; Note that uncommitted changes will not be included!
;; Use like this:
;; guix time-machine -C channels.scm -- build -f guix.scm
(use-modules (guix build-system pyproject)
(guix git)
(guix gexp)
(guix packages)
(guix licenses)
(gnu packages))
(include "manifest.scm")
(package
(name "flexynesis")
(version "0.1.7")
(source (git-checkout (url (dirname (current-filename)))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-numba-cache-dir
(lambda _
(setenv "NUMBA_CACHE_DIR" "/tmp")))
(add-after 'wrap 'isolate-python
(lambda _
(substitute* (list (string-append #$output "/bin/.flexynesis-real")
(string-append #$output "/bin/.flexynesis-cli-real"))
(("/bin/python") "/bin/python -I")))))))
(propagated-inputs %packages)
(native-inputs %dev-packages)
(home-page "https://github.com/BIMSBbioinfo/flexynesis")
(synopsis "Multi-omics bulk sequencing data integration suite")
(description "This is a deep-learning based multi-omics bulk
sequencing data integration suite with a focus on (pre-)clinical
endpoint prediction.")
(license #f))