[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/70: gnu: Add cryptsetup-minimal.
From: |
guix-commits |
Subject: |
48/70: gnu: Add cryptsetup-minimal. |
Date: |
Sat, 14 Dec 2024 06:00:08 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 7f220dee0f39805f93e57d3ff9a678b8b7839360
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 11 18:01:50 2024 +0100
gnu: Add cryptsetup-minimal.
The ruby-asciidoctor dependency pulls-in pandoc, 316 ghc packages, and 204
ruby packages, for documentation only.
* gnu/packages/cryptsetup.scm (cryptsetup): Rename to...
(cryptsetup-minimal): ...this.
[native-inputs]: Remove optional ruby-asciidoctor.
(cryptsetup): New variable. Inherit from cryptsetup-minimal.
[native-inputs]: Add ruby-asciidoctor if available.
Change-Id: I1d4d2160e1fd64057a188afa3c9cbf037610727a
---
gnu/packages/cryptsetup.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 44f9c77984..2b6cc635ee 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,9 +36,9 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages web))
-(define-public cryptsetup
+(define-public cryptsetup-minimal
(package
- (name "cryptsetup")
+ (name "cryptsetup-minimal")
(version "2.6.1")
(source (origin
(method url-fetch)
@@ -69,11 +70,7 @@
;; <https://issues.guix.gnu.org/63864>
(string-append "--with-libgcrypt-prefix="
(assoc-ref %build-inputs "libgcrypt"))))))
- (native-inputs
- (append (list pkg-config)
- (if (supported-package? ruby-asciidoctor)
- (list ruby-asciidoctor)
- '())))
+ (native-inputs (list pkg-config))
(inputs
(list argon2
json-c
@@ -100,6 +97,14 @@ block integrity kernel modules.")
(license license:gpl2)
(home-page "https://gitlab.com/cryptsetup/cryptsetup")))
+(define-public cryptsetup
+ (package/inherit cryptsetup-minimal
+ (name "cryptsetup")
+ (native-inputs `(,(if (supported-package? ruby-asciidoctor)
+ `("ruby-asciidoctor" ,ruby-asciidoctor)
+ '())
+ ,@(package-native-inputs cryptsetup-minimal)))))
+
(define-public (libcryptsetup-propagated-inputs)
(list argon2
json-c
@@ -122,10 +127,10 @@ files). This assumes LIBRARY uses Libtool."
(define-public cryptsetup-static
;; Stripped-down statically-linked 'cryptsetup' command for use in initrds.
(package
- (inherit cryptsetup)
+ (inherit cryptsetup-minimal)
(name "cryptsetup-static")
(arguments
- (substitute-keyword-arguments (package-arguments cryptsetup)
+ (substitute-keyword-arguments (package-arguments cryptsetup-minimal)
((#:configure-flags flags ''())
`(cons* "--disable-shared"
"--enable-static-cryptsetup"
- 14/70: gnu: automake: Fix build with gcc-14., (continued)
- 14/70: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/14
- 20/70: gnu: libstdc++: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/14
- 25/70: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/14
- 36/70: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/14
- 56/70: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 66/70: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/14
- 17/70: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/14
- 19/70: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/14
- 23/70: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/14
- 59/70: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 48/70: gnu: Add cryptsetup-minimal.,
guix-commits <=
- 70/70: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/14
- 62/70: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/14
- 28/70: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/14
- 33/70: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/14
- 21/70: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/14
- 53/70: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/14
- 43/70: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/14
- 63/70: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/14
- 69/70: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override., guix-commits, 2024/12/14
- 49/70: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/14