Working guix package and test
This commit is contained in:
parent
e46f2f0566
commit
7f0364de19
44
guix.scm
44
guix.scm
|
@ -1,7 +1,9 @@
|
|||
(use-modules
|
||||
(guix gexp)
|
||||
(guix packages)
|
||||
((guix licenses) #:prefix license:)
|
||||
(guix download)
|
||||
(guix git-download)
|
||||
(guix build-system gnu)
|
||||
(gnu packages)
|
||||
(gnu packages autotools)
|
||||
|
@ -16,18 +18,30 @@
|
|||
(version "0.1")
|
||||
(source (local-file %source-dir
|
||||
#:recursive? #t
|
||||
#:select? (git-predicate %source-dir))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments `())
|
||||
(native-inputs
|
||||
(list autoconf
|
||||
automake
|
||||
pkg-config
|
||||
texinfo)))
|
||||
(inputs (list guile-3.0))
|
||||
(propagated-inputs `())
|
||||
(synopsis "")
|
||||
(description "")
|
||||
(home-page "")
|
||||
(license license:gpl3+)))
|
||||
|
||||
#:select? (git-predicate %source-dir)))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:make-flags
|
||||
#~(list "GUILE_AUTO_COMPILE=0")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'strip)
|
||||
(add-before 'configure 'hall-build
|
||||
(lambda _
|
||||
(system* "hall" "build" "-x")))
|
||||
(add-after 'hall-build 'autoreconf
|
||||
(lambda _
|
||||
(system* "autoreconf" "-vif"))))))
|
||||
(native-inputs
|
||||
(list autoconf
|
||||
automake
|
||||
guile-hall
|
||||
pkg-config
|
||||
texinfo))
|
||||
(inputs (list guile-3.0))
|
||||
(propagated-inputs (list guile-config))
|
||||
(synopsis "???")
|
||||
(description "???")
|
||||
(home-page "???")
|
||||
(license license:gpl3+)))
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
(test-group "bencode.scm"
|
||||
(test-group "encode"
|
||||
(test-group "string->bencode"
|
||||
(test-eqv "0:" (string->bencode "")))))
|
||||
(test-equal "0:" (string->bencode "")))))
|
||||
|
|
Loading…
Reference in New Issue