From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 60250@debbugs.gnu.org
Subject: [bug#60250] [PATCH] gnu: Add bees.
Date: Thu, 22 Dec 2022 16:19:43 +0800 [thread overview]
Message-ID: <87k02j4zq8.wl-hako@ultrarare.space> (raw)
* gnu/packages/file-systems.scm (bees): New variable.
---
gnu/packages/file-systems.scm | 39 +++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 57a25a0d90..cce406a01d 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -1766,3 +1766,42 @@ (define-public udftools
and other optical media. It supports read-only media (DVD/CD-R)
and rewritable media that wears out (DVD/CD-RW).")
(license license:gpl2+)))
+
+(define-public bees
+ (package
+ (name "bees")
+ (version "0.8")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Zygo/bees")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kxpz1p9k5ir385kpvmfjawki5vg22hlx768k7835w6n5z5a65y4"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:test-target "test"
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "DESTDIR=" #$output)
+ (string-append "BEES_VERSION=" #$version)
+ "PREFIX=''"
+ "LIBEXEC_PREFIX=/lib/bees")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'install 'fix-path
+ (lambda _
+ (substitute* (string-append #$output "/sbin/beesd")
+ (("/lib/bees/bees" all)
+ (string-append #$output all))))))))
+ (home-page "https://github.com/Zygo/bees")
+ (synopsis "Best-Effort Extent-Same, a btrfs dedupe agent")
+ (description
+ "@code{bees} is a block-oriented userspace deduplication agent designed
+for large btrfs filesystems. It is an offline dedupe combined with an
+incremental data scan capability to minimize time data spends on disk from
+write to dedupe.")
+ (license license:gpl3+)))
base-commit: 0744540d09ddef8dbf25cc5d65da9d029dab338c
--
2.38.1
next reply other threads:[~2022-12-22 8:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 8:19 Hilton Chain via Guix-patches via [this message]
2022-12-22 18:52 ` [bug#60250] [PATCH] gnu: Add bees Adam Faiz via Guix-patches via
2022-12-23 6:25 ` Hilton Chain via Guix-patches via
2022-12-23 6:35 ` [bug#60250] [PATCH v2] " Hilton Chain via Guix-patches via
2023-01-17 15:02 ` bug#60250: [PATCH] " Ludovic Courtès
2022-12-23 7:57 ` [bug#60250] " Adam Faiz via Guix-patches via
2022-12-24 11:34 ` Hilton Chain via Guix-patches via
2022-12-24 16:31 ` Adam Faiz via Guix-patches via
2022-12-22 19:22 ` Adam Faiz via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k02j4zq8.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=60250@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.