* [bug#41873] [PATCH] gnu: Add ebusd.
@ 2020-06-15 15:42 Danny Milosavljevic
2020-06-21 9:57 ` Mathieu Othacehe
2020-09-06 22:20 ` bug#41873: " Danny Milosavljevic
0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2020-06-15 15:42 UTC (permalink / raw)
To: 41873; +Cc: Danny Milosavljevic
* gnu/packages/embedded.scm (ebusd): New variable.
---
gnu/packages/embedded.scm | 47 +++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 9be1065de2..2c5a8991fc 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1352,3 +1352,50 @@ simplifies configuration and is also pluggable: you can write your own west
this feature to provide conveniences for building applications, flashing and
debugging them, and more.")
(license license:expat)))
+
+;; TODO: Support MQTT.
+(define-public ebusd
+ (package
+ (name "ebusd")
+ (version "3.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/john30/ebusd.git")
+ (commit (string-append "v" version))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0iva70bam7wdx60bpd3an9kxr28zxlvp3vprivgqshwwdhqa0hzp"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-config
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((config-destination
+ (string-append (assoc-ref outputs "out")
+ "/share/ebusd")))
+ (copy-recursively (string-append (assoc-ref inputs "config")
+ "/ebusd-2.1.x")
+ config-destination)
+ #t))))))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("config"
+ ,(origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/john30/ebusd-configuration.git")
+ (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
+ (file-name "config-checkout")
+ (sha256
+ (base32
+ "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
+ (synopsis "Daemon for communicating with eBUS devices")
+ (description "This package provides @command{ebusd}, a daemon for
+handling communication with eBUS devices connected to a 2-wire bus system
+(\"energy bus\" used by numerous heating systems).")
+ (home-page "https://ebusd.eu/")
+ (license license:gpl3+)))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#41873] [PATCH] gnu: Add ebusd.
2020-06-15 15:42 [bug#41873] [PATCH] gnu: Add ebusd Danny Milosavljevic
@ 2020-06-21 9:57 ` Mathieu Othacehe
2020-09-06 22:20 ` bug#41873: " Danny Milosavljevic
1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2020-06-21 9:57 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 41873
Hey Danny,
> + (uri (git-reference
> + (url "https://github.com/john30/ebusd.git")
> + (commit (string-append "v" version))))
Indentation is off here and a bit below.
> + (copy-recursively (string-append (assoc-ref inputs "config")
> + "/ebusd-2.1.x")
Maybe you could use the "latest" file here?
> + (synopsis "Daemon for communicating with eBUS devices")
> + (description "This package provides @command{ebusd}, a daemon for
> +handling communication with eBUS devices connected to a 2-wire bus system
> +(\"energy bus\" used by numerous heating systems).")
I think you can turn this into a full sentence.
Otherwise, it look fine.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#41873: [PATCH] gnu: Add ebusd.
2020-06-15 15:42 [bug#41873] [PATCH] gnu: Add ebusd Danny Milosavljevic
2020-06-21 9:57 ` Mathieu Othacehe
@ 2020-09-06 22:20 ` Danny Milosavljevic
1 sibling, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2020-09-06 22:20 UTC (permalink / raw)
To: 41873-done
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Pushed to guix master as commit bbf8a309662c8378b817cfb760447cd6f8ce59e8.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-06 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 15:42 [bug#41873] [PATCH] gnu: Add ebusd Danny Milosavljevic
2020-06-21 9:57 ` Mathieu Othacehe
2020-09-06 22:20 ` bug#41873: " Danny Milosavljevic
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).