@@ -6,6 +6,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1217,3 +1218,37 @@ (define-public kubo
(define-public go-ipfs
(deprecated-package "go-ipfs" kubo))
+
+(define-public spritely-libp2p-daemon
+ (let ((version "0.1")
+ (commit "ae96196af1b68a5e23e58fa4afa818878b252a3d")
+ (revision "0"))
+ (package
+ (name "spritely-libp2p-daemon")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/spritely/go-libp2p-daemon.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dcdn7nlysynl7yrbivv8m7j83jq7pabhcff8mvfjdk583rgnkp2"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "gitlab.com/spritely/spritely-libp2p-daemon"
+ #:tests? #f))
+ (propagated-inputs
+ (list go-github-com-libp2p-go-libp2p
+ go-github-com-libp2p-go-libp2p-peer
+ go-github-com-libp2p-go-libp2p-crypto
+ go-github-com-multiformats-go-multiaddr))
+ (home-page "https://gitlab.com/spritely/go-libp2p-daemon")
+ (synopsis "Simple daemon to connect over libp2p")
+ (description "This package provides a very simple daemon to interface to
+from other programming languages. It's designed to fulfill the needs of
+Spritely's Goblins library to support libp2p as a netlayer.")
+ (license license:asl2.0))))