From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KAGGN20UpGNYEAAAbAwnHQ (envelope-from ) for ; Thu, 22 Dec 2022 09:25:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ODzcNm0UpGOCKwEAG6o9tA (envelope-from ) for ; Thu, 22 Dec 2022 09:25:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5721A1DD9A for ; Thu, 22 Dec 2022 09:25:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8Gpp-00074P-5J; Thu, 22 Dec 2022 03:21:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Gp7-0006wh-0m for guix-patches@gnu.org; Thu, 22 Dec 2022 03:21:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8Gp5-0007Mt-0n for guix-patches@gnu.org; Thu, 22 Dec 2022 03:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p8Gp4-0004D0-Kw for guix-patches@gnu.org; Thu, 22 Dec 2022 03:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60250] [PATCH] gnu: Add bees. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Dec 2022 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60250 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60250@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167169720416116 (code B ref -1); Thu, 22 Dec 2022 08:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2022 08:20:04 +0000 Received: from localhost ([127.0.0.1]:56916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Go7-0004Bs-HA for submit@debbugs.gnu.org; Thu, 22 Dec 2022 03:20:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:55706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Go5-0004Ba-TI for submit@debbugs.gnu.org; Thu, 22 Dec 2022 03:20:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Go5-0006bx-IC for guix-patches@gnu.org; Thu, 22 Dec 2022 03:20:01 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Go3-000770-Rr for guix-patches@gnu.org; Thu, 22 Dec 2022 03:20:01 -0500 Date: Thu, 22 Dec 2022 16:19:43 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1671697196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XPAKT8FbtwDzcw71LVWNTdUEihrHzTu9YeRR6JtOrr0=; b=F/oievmXK4z0USoxl/l8yqJ4+4prHgCnBbppSaNe92OZfVvL+mPfT0O+IbINbhQhc12ddf J96Sn0uRBSoVoakZyEoRntIpv/X1atp3eZr/KLzvStBn1EXltZLv41IBo8fSSpn+XFIRjt S8tB330Wy1eA7uSDFKbG2gCMBIAg6+RuMiekmozLbGLK08y/DZobe/q0rpIJAfQCG8rFpo mh0GHDT/tqgW+Mncci1Td4RQHvueQaqfvzO0q/YeD77Y/kOJVI78ex26PEPHL95kq3PsUL ns6Bz/ACCqa9R3FNv5Ld1gWxTf9aZ1/ss9KWZfIWWF+2aRKzcIeiY1axPLF5MA== Message-ID: <87k02j4zq8.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671697517; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XPAKT8FbtwDzcw71LVWNTdUEihrHzTu9YeRR6JtOrr0=; b=QjgIRvQF99NCrVSaApcfEvZljQiGzlZQjTxSGlU6hZozdRQu3rn6GGa+hDPCya6XUthl9R n/EiheI6p6sM84Nsf/TkYT3krkh/DFHAnBoXBx2xaYfqJZZvQMeKPIbTxkL8cf9ncedSil f2Loi2lo0m4hdR6A85Ru42tzL2BhTD5iWrLpuMZqLOzh0DfKqoXcgO0F2YRfQsRm2MuUVh i4qZ1rFTEaZ223hbKOc64VLLSwBGWCFRpaN/aN8tQiFkoJUG1ydMihEtMrgVS5+8pymS/x G3ITSbAE17h76FJXMMd8sOVOrAYsUa4UfKige7Ec/dLfJTCTUK2PucQ2HzOzIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="F/oievmX"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671697517; a=rsa-sha256; cv=none; b=se9Mq6PUd25f5sy+JqC+l2t0fs58M/pS/O3cZ6y8t/y1I13e/pMChIdnnj4Qc/KihRwcBR axgmZxr4kNFuXqLVl/1ZnFrXH5nFuIhYee69mP66r856m6ZMc7RAAov7o9WAyzrN6tUSs1 1i49NA8ugSBMHLPo4uy+mm7nbxqLxR6xkZAIrk2rKdQxgCigqTEJLXJP+WcB2GkH1Is8bb 9S56HX6h7mkzxThK8uyeZRRQM7LwsWPeqGF+6nzZL+PnjhwQpzEzh7pvCUGpLyGxjmm9rH 9QH4rH381V0CUd77dnAlc5FaJ5qxdwZKbXSj65B+l5NQUsCg5SjYUJipjLfPLw== X-Spam-Score: -3.70 X-Migadu-Queue-Id: 5721A1DD9A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="F/oievmX"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.70 X-TUID: wpujL/gLEEDd * 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