gnu: libscrypt: Use G-expressions.
* gnu/packages/crypto.scm (libscrypt)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
601d95206d
commit
6f4ceb5449
1 changed files with 10 additions and 11 deletions
|
@ -593,17 +593,16 @@ attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs (list "out" "static"))
|
(outputs (list "out" "static"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "PREFIX=" %output)
|
(list #:make-flags
|
||||||
,(string-append "CC=" (cc-for-target)))
|
#~(list (string-append "PREFIX=" #$output)
|
||||||
#:phases
|
(string-append "CC=" #$(cc-for-target)))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'configure) ; no configure script
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'install:static
|
(delete 'configure) ; no configure script
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(add-after 'install 'install:static
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(lambda _
|
||||||
(lib (string-append out "/lib")))
|
(install-file "libscrypt.a"
|
||||||
(install-file "libscrypt.a" lib)
|
(string-append #$output:static "/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
|
||||||
|
|
Reference in a new issue