mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: exfat-utils: Update to 1.2.4.
* gnu/packages/mtools.scm (exfat-utils): Update to 1.2.4. [source, home-page]: Move away from dead Google Code project. [arguments, native-inputs]: Remove.
This commit is contained in:
parent
a24b56fa8d
commit
3b0f2ba46b
1 changed files with 6 additions and 38 deletions
|
@ -49,49 +49,17 @@ (define-public mtools
|
||||||
(define-public exfat-utils
|
(define-public exfat-utils
|
||||||
(package
|
(package
|
||||||
(name "exfat-utils")
|
(name "exfat-utils")
|
||||||
(version "1.1.1")
|
(version "1.2.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri "https://docs.google.com/uc?export=download&\
|
(uri (string-append
|
||||||
id=0B7CLI-REKbE3UzNtSkRvdHBpdjQ")
|
"https://github.com/relan/exfat/releases/download/v"
|
||||||
|
version "/" name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ck2snhlhp965bb9a4y1g2lpl979sw1yznm79wbavyv174458i66"))
|
"04dvrdmwmj9ggad8aq6inbjcq2yi9i62z42nnivhk7bb84k1k9ba"))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs `(("scons" ,scons)))
|
(home-page "https://github.com/relan/exfat")
|
||||||
(arguments
|
|
||||||
'(#:tests? #f ;no test suite
|
|
||||||
#:phases (modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(add-after 'unpack 'scons-propagate-environment
|
|
||||||
(lambda _
|
|
||||||
;; Modify the SConstruct file to arrange for
|
|
||||||
;; environment variables to be propagated.
|
|
||||||
(substitute* "SConstruct"
|
|
||||||
(("^env = Environment\\(")
|
|
||||||
"env = Environment(ENV=os.environ, "))))
|
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "scons"))))
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(bin (string-append out "/bin"))
|
|
||||||
(man8 (string-append out
|
|
||||||
"/share/man/man8")))
|
|
||||||
(mkdir-p bin)
|
|
||||||
(mkdir-p man8)
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(copy-file
|
|
||||||
file
|
|
||||||
(string-append man8 "/"
|
|
||||||
(basename file))))
|
|
||||||
(find-files "." "\\.8$"))
|
|
||||||
(zero? (system* "scons" "install"
|
|
||||||
(string-append "DESTDIR="
|
|
||||||
bin)))))))))
|
|
||||||
(home-page "https://code.google.com/p/exfat")
|
|
||||||
(synopsis "Utilities to manipulate exFAT file systems")
|
(synopsis "Utilities to manipulate exFAT file systems")
|
||||||
(description
|
(description
|
||||||
"This package provides an implementation of the exFAT file system,
|
"This package provides an implementation of the exFAT file system,
|
||||||
|
|
Loading…
Reference in a new issue