Add hodd

Evgeny PisemskySat Apr 26 14:30:44+0300 2025

79ff29f

Add hodd

modules/cogd/packages/guile-xyz.scm

9494
    (name "cogd-manual")
9595
    (version "git")
9696
    (source
97-
     (let ((dir ((compose dirname dirname dirname)
98-
                 (current-source-directory))))
99-
       (local-file dir
100-
                   "cogd-checkout"
101-
                   #:recursive? #t
102-
                   #:select? (or (git-predicate dir)
103-
                                 (const #t)))))
97+
     (local-file "../../.."
98+
                 "cogd-checkout"
99+
                 #:recursive? #t
100+
                 #:select? (or (git-predicate
101+
                                ((compose dirname dirname dirname)
102+
                                 (current-source-directory)))
103+
                               (const #t))))
104104
    (build-system copy-build-system)
105105
    (arguments
106106
     (list

modules/cogd/packages/web.scm

3535
     "Simple.css is a CSS template that allows you to make a good looking
3636
website really quickly.")
3737
    (license license:expat)))
38+
39+
(define-public hodd
40+
  (let ((commit "25d6abc95213c506046c75458f9fab4d1c47401d")
41+
        (revision "0"))
42+
    (package
43+
      (name "hodd")
44+
      (version (git-version "0.4.0" revision commit))
45+
      (source
46+
       (origin
47+
         (method git-fetch)
48+
         (uri (git-reference
49+
               (url "https://github.com/rroemhild/hodd")
50+
               (commit commit)))
51+
         (file-name (git-file-name name version))
52+
         (sha256
53+
          (base32 "042fd53sy6fw2x3f788759l86m8vqnmmyrsp3kanp79v5qk3k3yy"))))
54+
      (arguments
55+
       (list
56+
        #:install-plan
57+
        #~'(("." "share/web/hodd/"))))
58+
      (build-system copy-build-system)
59+
      (home-page "https://rroemhild.github.io/hodd/")
60+
      (synopsis "Homie Device Discovery")
61+
      (description
62+
       "HoDD is a simple client-side (Browser) app to discover Homie devices.
63+
It's a little helper for developing Homie devices or just to spot the
64+
amount of Homie devices you are running at home.")
65+
      (license license:expat))))