-
Notifications
You must be signed in to change notification settings - Fork 5
/
xg.scm
54 lines (52 loc) · 1.85 KB
/
xg.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
41
42
43
44
45
46
47
48
49
50
51
52
53
(define-module (xg)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages base)
#:use-module (gnu packages gcc)
#:use-module (gnu packages cmake)
#:use-module (gnu packages version-control)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages wget)
#:use-module (gnu packages curl)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression))
(define-public xg
(let ((version "0.1.0")
(commit "c414da4b7cd39a34d37e2c6ea977142093638814")
(package-revision "1"))
(package
(name "xg")
(version (string-append version "+" (string-take commit 7) "-" package-revision))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/vgteam/xg.git")
(commit commit)
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
"055l2cb1ys0gg2qi3aha355y33811k5i43a91hf6g1p9k4knwvsg"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases
%standard-phases
(delete 'check))
#:make-flags (list "CC=gcc")))
(native-inputs
`(("cmake" ,cmake)
("glibc" ,glibc)
("gcc" ,gcc-9)
("zlib" ,zlib)))
(synopsis "succinct static genome variation graph index")
(description
"The XG index is a succinct, static index for genome variation graphs.
This utility reads GFA and writes XG format version of the graph. It
may also be used to annotate the nodes of graphs in GFA with path
positions.")
(home-page "https://github.com/vgteam/xg")
(license license:expat))))