1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: xfel: Update to 1.3.3.

* gnu/packages/admin.scm (xfel): Update to 1.3.3.
[arguments]<#:phases>: Patch Makefile to replace hard-coded paths (see
<https://github.com/xboot/xfel/issues/74>.)

Change-Id: I11ac84762f04fdf0fb205227db10a5273d25c7c5
This commit is contained in:
Artyom V. Poptsov 2025-05-02 10:15:12 +03:00
parent 6c6eb63549
commit f71f092210
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -4251,7 +4251,7 @@ in order to be able to find it.
(define-public xfel
(package
(name "xfel")
(version "1.3.2")
(version "1.3.3")
(source
(origin
(method git-fetch)
@ -4259,7 +4259,7 @@ in order to be able to find it.
(url "https://github.com/xboot/xfel")
(commit (string-append "v" version))))
(sha256
(base32 "1x69lh0dhr3kkkrcv9wziz7m19apj4ygvss95rdb82wnl27gwrvy"))
(base32 "15xlqkj7lf3xszgfyci32lrwdjhqmmm9clmwlp1qn6hywal3d2p4"))
(file-name (git-file-name name version))))
(native-inputs
(list pkg-config))
@ -4272,7 +4272,16 @@ in order to be able to find it.
(string-append "DESTDIR=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(delete 'configure)
(add-after 'unpack 'patch-makefile
(lambda _
(substitute* "Makefile"
(("/usr/local")
#$output)
(("/usr/share")
(string-append #$output "/share/"))
(("/etc/udev/rules.d")
(string-append #$output "/lib/udev/rules.d"))))))))
(home-page "https://github.com/xboot/xfel")
(synopsis "Remote debugging tool for Allwinner devices")
(description "This package contains a debugging tool for Allwinner devices