diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-28 00:46:34 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:27 +0100 |
commit | 89d48dd4f7ada072ff7dfbc6fb975e0b4a9a0290 (patch) | |
tree | 14d84f5c2f3e9decd894af9e7472d66e20049c32 | |
parent | f255adb3073560141e2b98e6f8fb866b5d20fd11 (diff) |
gnu: Add go-github-com-ipfs-shipyard-nopfs.
* gnu/packages/ipfs.scm (go-github-com-ipfs-shipyard-nopfs): New variable.
Change-Id: Ib19e69919dcf7d10e6e6e7abd31f87e0c1b0d651
-rw-r--r-- | gnu/packages/ipfs.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index c9d5d808f8..bb6a632ac4 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -1363,6 +1363,47 @@ code prior to it getting merged into @code{go-cid}.") ;; LICENSE-MIT and LICENSE-APACHE. (license (list license:expat license:asl2.0)))) +(define-public go-github-com-ipfs-shipyard-nopfs + (package + (name "go-github-com-ipfs-shipyard-nopfs") + (version "0.0.14") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs-shipyard/nopfs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qbp7hny0v6n74agh1ym98ndnnr53aq1hd6ybm5q214fah7k23r7")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/ipfs-shipyard/nopfs/ipfs + ;; - github.com/ipfs-shipyard/nopfs/nopfs-kubo-plugin + (for-each delete-file-recursively + (list "ipfs" "nopfs-kubo-plugin")))))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ipfs-shipyard/nopfs")) + (propagated-inputs + (list go-github-com-fsnotify-fsnotify + go-github-com-ipfs-boxo + go-github-com-ipfs-go-cid + go-github-com-ipfs-go-log-v2 + go-github-com-multiformats-go-multicodec + go-github-com-multiformats-go-multihash + go-go-uber-org-multierr + go-gopkg-in-yaml-v3)) + (home-page "https://github.com/ipfs-shipyard/nopfs") + (synopsis "Content-blocking-layer capabilities for IPFS") + (description + "Package nopfs implements content blocking for the IPFS stack.") + (license license:asl2.0))) + (define-public go-github-com-ipld-go-car (package (name "go-github-com-ipld-go-car") |