[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: libscrypt: Add a :static output.
From: |
guix-commits |
Subject: |
03/14: gnu: libscrypt: Add a :static output. |
Date: |
Sat, 7 Nov 2020 07:41:23 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit d057a9c423e8144865fefd7c8475d61e3263eeb7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Nov 5 22:00:22 2020 +0100
gnu: libscrypt: Add a :static output.
* gnu/packages/crypto.scm (libscrypt)[outputs]: Add "static" to this new
field.
[arguments]: Add an ‘install:static’ phase.
---
gnu/packages/crypto.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1a9cb5c..b8ca013 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -571,12 +571,19 @@ attacks than alternative functions such as @code{PBKDF2}
or @code{bcrypt}.")
(base32
"1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng"))))
(build-system gnu-build-system)
+ (outputs (list "out" "static"))
(arguments
`(#:make-flags (list (string-append "PREFIX=" %output)
"CC=gcc")
#:phases
(modify-phases %standard-phases
- (delete 'configure))))
+ (delete 'configure) ; no configure script
+ (add-after 'install 'install:static
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib")))
+ (install-file "libscrypt.a" lib)
+ #t))))))
(home-page "https://lolware.net/libscrypt.html")
(synopsis "Password hashing library")
(description "@code{libscrypt} implements @code{scrypt} key derivation
- branch master updated (501b325 -> 83dee0e), guix-commits, 2020/11/07
- 01/14: gnu: Add firebird., guix-commits, 2020/11/07
- 05/14: gnu: shotwell: Update to 0.30.11., guix-commits, 2020/11/07
- 03/14: gnu: libscrypt: Add a :static output.,
guix-commits <=
- 08/14: gnu: kdenlive: Update to 20.08.3., guix-commits, 2020/11/07
- 10/14: uuid: Add support for bcachefs., guix-commits, 2020/11/07
- 02/14: gnu: libreoffice: Enable LibreOffice Base., guix-commits, 2020/11/07
- 09/14: file-systems: Add support for bcachefs., guix-commits, 2020/11/07
- 13/14: gnu: thermald: Update to 2.3., guix-commits, 2020/11/07
- 04/14: gnu: bcachefs-tools: Update to 0.1-1.742dbbd., guix-commits, 2020/11/07
- 12/14: gnu: thermald: Correct licence., guix-commits, 2020/11/07
- 07/14: gnu: samba: Update to 4.13.2., guix-commits, 2020/11/07
- 06/14: gnu: system-config-printer: Update to 1.5.13., guix-commits, 2020/11/07
- 11/14: linux-boot: Resume from hibernation., guix-commits, 2020/11/07