aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-17 11:38:03 -0300
committerEuAndreh <eu@euandre.org>2024-10-17 11:38:03 -0300
commitac239ce9dfb4a3c09e0548ee5bad14b9f6765e0f (patch)
tree8ff9d82dbc0fee12044c4c2e5fadbbb37d751b82 /src/org/euandre/queue.scm
parentqueue.scm: Enable -flto and --disable-math for acude (diff)
downloadpackages-ac239ce9dfb4a3c09e0548ee5bad14b9f6765e0f.tar.gz
packages-ac239ce9dfb4a3c09e0548ee5bad14b9f6765e0f.tar.xz
queue.scm: Add scryptkdf derived package
Diffstat (limited to 'src/org/euandre/queue.scm')
-rw-r--r--src/org/euandre/queue.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm
index dfa11f9..88a1991 100644
--- a/src/org/euandre/queue.scm
+++ b/src/org/euandre/queue.scm
@@ -160,6 +160,7 @@
(use-package-modules
admin
check
+ crypto
cyrus-sasl
dbm
golang
@@ -1906,6 +1907,32 @@ SetEnv GIT_CONFIG_GLOBAL=/etc/gitconfig")))
(outputs
'("out"))))
+(define scryptkdf
+ (package
+ (inherit scrypt)
+ (name "scryptkdf")
+ (arguments
+ (substitute-keyword-arguments (package-arguments scrypt)
+ ((#:configure-flags flags)
+ #~(append
+ #$flags
+ (list
+ "--disable-shared"
+ "--enable-static"
+ "--enable-libscrypt-kdf"
+ (string-join
+ '("CFLAGS="
+ "-D_POSIX_C_SOURCE=200809L"
+ "-D_XOPEN_SOURCE=700"
+ "-g"
+ "-O3"
+ "-march=native"
+ "-std=c99"
+ "-flto"
+ "-Wvla"
+ "-fPIE"))
+ "LDFLAGS=--static -flto")))))))
+
(list
@@ -1920,4 +1947,5 @@ SetEnv GIT_CONFIG_GLOBAL=/etc/gitconfig")))
hunspell-dict-es-utf8
python-telegram-bot
acude
+ scryptkdf
go-full)