gnu: ebusd: Update to 25.1.

* gnu/packages/embedded.scm (ebusd): Update to 25.1.
[arguments]<#:phases>[patch]: Make it find the local configs.

Change-Id: Id862e3139b9590846eac0c8f4bbc156ef84b15d6
This commit is contained in:
Danny Milosavljevic 2025-05-11 00:44:20 +02:00
parent ea5abd7381
commit f6363db186
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1863,7 +1863,7 @@ debugging them, and more.")
(define-public ebusd (define-public ebusd
(package (package
(name "ebusd") (name "ebusd")
(version "23.2") (version "25.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1872,12 +1872,18 @@ debugging them, and more.")
(file-name (string-append name "-" version "-checkout")) (file-name (string-append name "-" version "-checkout"))
(sha256 (sha256
(base32 (base32
"1zqnxk6vgszlf410pypsjjliiy9wawy585fm7v25mka47i6iqafq")))) "1k85vzjhhya7r41nid5yylr7jyvl09455hpny6wrjkipz68icgdf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--localstatedir=/var") `(#:configure-flags '("--localstatedir=/var")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/ebusd/main.h"
(("#define CONFIG_PATH .*")
(string-append "#define CONFIG_PATH \"" (assoc-ref inputs "config")
"/ebusd-2.1.x/\"\n")))))
(add-after 'install 'install-config (add-after 'install 'install-config
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((config-destination (let ((config-destination