mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: aria2: Rewrite with gexps.
* gnu/packages/bittorrent.scm (aria2)[arguments]: Rewrite with gexps.
This commit is contained in:
parent
161091f053
commit
dc64e7a1ac
1 changed files with 15 additions and 12 deletions
|
@ -38,6 +38,7 @@ (define-module (gnu packages bittorrent)
|
|||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system glib-or-gtk)
|
||||
#:use-module ((guix licenses) #:prefix l:)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages adns)
|
||||
|
@ -308,19 +309,21 @@ (define-public aria2
|
|||
"1987x4ywnnrhhfs9hi2h820c200d7nas9nd35414yh0jiihfglaq"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags (list "--enable-libaria2"
|
||||
(string-append "--with-bashcompletiondir="
|
||||
%output "/etc/bash_completion.d/"))
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "--enable-libaria2"
|
||||
(string-append "--with-bashcompletiondir="
|
||||
#$output "/etc/bash_completion.d/"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'delete-socket-tests
|
||||
(lambda _
|
||||
(substitute* "test/LpdMessageDispatcherTest.cc"
|
||||
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageDispatcherTest\\);" text)
|
||||
(string-append "// " text)))
|
||||
(substitute* "test/LpdMessageReceiverTest.cc"
|
||||
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageReceiverTest\\);" text)
|
||||
(string-append "// " text))))))))
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'delete-socket-tests
|
||||
(lambda _
|
||||
(substitute* "test/LpdMessageDispatcherTest.cc"
|
||||
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageDispatcherTest\\);" text)
|
||||
(string-append "// " text)))
|
||||
(substitute* "test/LpdMessageReceiverTest.cc"
|
||||
(("CPPUNIT_TEST_SUITE_REGISTRATION\\(LpdMessageReceiverTest\\);" text)
|
||||
(string-append "// " text))))))))
|
||||
(native-inputs
|
||||
(list cppunit ; for the tests
|
||||
pkg-config))
|
||||
|
|
Loading…
Reference in a new issue