gnu: httpfs2: Use G-expressions.

* gnu/packages/file-systems.scm (httpfs2)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-08 05:42:53 +01:00
parent ef58bc1524
commit f7f88a85d7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -586,30 +586,29 @@ (define-public httpfs2
(inputs
(list fuse gnutls))
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
(replace 'install
;; There's no install target. Install all variants manually.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(man1 (string-append out "/share/man/man1")))
(mkdir-p bin)
(mkdir-p man1)
(for-each
(lambda (variant)
(let ((man1-page (string-append variant ".1")))
(install-file variant bin)
(install-file man1-page man1)))
(list "httpfs2"
"httpfs2-mt"
"httpfs2-ssl"
"httpfs2-ssl-mt")))
#t)))
#:make-flags (list "CC=gcc")
#:parallel-build? #f ; can result in missing man pages
#:tests? #f)) ; no tests
(list #:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script
(replace 'install
;; There's no install target. Install all variants manually.
(lambda _
(let* ((bin (string-append #$output "/bin"))
(man1 (string-append #$output "/share/man/man1")))
(mkdir-p bin)
(mkdir-p man1)
(for-each
(lambda (variant)
(let ((man1-page (string-append variant ".1")))
(install-file variant bin)
(install-file man1-page man1)))
(list "httpfs2"
"httpfs2-mt"
"httpfs2-ssl"
"httpfs2-ssl-mt"))))))
#:make-flags
#~(list "CC=gcc")
#:parallel-build? #f ; can result in missing man pages
#:tests? #f)) ; no tests
(home-page "https://sourceforge.net/projects/httpfs/")
(synopsis "Mount remote files over HTTP")
(description "httpfs2 is a @code{fuse} file system for mounting any