mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libscrypt: Add a :static output.
* gnu/packages/crypto.scm (libscrypt)[outputs]: Add "static" to this new field. [arguments]: Add an ‘install:static’ phase.
This commit is contained in:
parent
9fbe695df5
commit
d057a9c423
1 changed files with 8 additions and 1 deletions
|
@ -571,12 +571,19 @@ attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.")
|
||||||
(base32
|
(base32
|
||||||
"1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng"))))
|
"1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(outputs (list "out" "static"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "PREFIX=" %output)
|
`(#:make-flags (list (string-append "PREFIX=" %output)
|
||||||
"CC=gcc")
|
"CC=gcc")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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")
|
(home-page "https://lolware.net/libscrypt.html")
|
||||||
(synopsis "Password hashing library")
|
(synopsis "Password hashing library")
|
||||||
(description "@code{libscrypt} implements @code{scrypt} key derivation
|
(description "@code{libscrypt} implements @code{scrypt} key derivation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue