[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add bcachefs-static.
From: |
guix-commits |
Subject: |
07/13: gnu: Add bcachefs-static. |
Date: |
Sun, 29 Nov 2020 11:29:28 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 16611d1c95d78bb87ccca84ba806a4d279233dfb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Nov 5 21:46:29 2020 +0100
gnu: Add bcachefs-static.
* gnu/packages/file-systems.scm (bcachefs/static): New public variable.
---
gnu/packages/file-systems.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 8c382a0..7ace103 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -404,6 +404,37 @@ performance and other characteristics.")
("zstd:static" ,zstd "static")
,@(package-inputs bcachefs-tools)))))
+(define-public bcachefs/static
+ (package
+ (name "bcachefs-static")
+ (version (package-version bcachefs-tools))
+ (build-system trivial-build-system)
+ (source #f)
+ (inputs
+ `(("bcachefs-tools" ,bcachefs-tools/static)))
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (ice-9 ftw)
+ (srfi srfi-26))
+ (let* ((bcachefs-tools (assoc-ref %build-inputs "bcachefs-tools"))
+ (out (assoc-ref %outputs "out")))
+ (mkdir-p out)
+ (with-directory-excursion out
+ (install-file (string-append bcachefs-tools
+ "/sbin/bcachefs")
+ "sbin")
+ (remove-store-references "sbin/bcachefs")
+ (invoke "sbin/bcachefs" "version") ; test suite
+ #t)))))
+ (home-page (package-home-page bcachefs-tools))
+ (synopsis "Statically-linked bcachefs command from bcachefs-tools")
+ (description "This package provides the statically-linked
@command{bcachefs}
+from the bcachefs-tools package. It is meant to be used in initrds.")
+ (license (package-license bcachefs-tools))))
+
(define-public exfatprogs
(package
(name "exfatprogs")
- branch master updated (7a584b0 -> c1d6814), guix-commits, 2020/11/29
- 01/13: gnu: igt-gpu-tools: Update to 1.25., guix-commits, 2020/11/29
- 03/13: gnu: youtube-dl: Update to 2020.11.29., guix-commits, 2020/11/29
- 02/13: gnu: igt-gpu-tools: Remove unused inputs., guix-commits, 2020/11/29
- 04/13: gnu: thermald: Update to 2.4., guix-commits, 2020/11/29
- 06/13: gnu: Add bcachefs-tools-static., guix-commits, 2020/11/29
- 05/13: gnu: hplip: Install PPDs into a separate output., guix-commits, 2020/11/29
- 07/13: gnu: Add bcachefs-static.,
guix-commits <=
- 09/13: gnu: cwm: Update to 6.7., guix-commits, 2020/11/29
- 11/13: gnu: gaupol: Update to 1.8., guix-commits, 2020/11/29
- 08/13: gnu: j4-dmenu-desktop: Update to 2.18., guix-commits, 2020/11/29
- 12/13: gnu: vdpauinfo: Fetch from git repository., guix-commits, 2020/11/29
- 10/13: gnu: cwm: Prepare for cross-compilation., guix-commits, 2020/11/29
- 13/13: gnu: vdpauinfo: Update to 1.4., guix-commits, 2020/11/29