nckx pushed a commit to branch master
in repository guix.
commit c5fcdb5cf7de57c7575f90a2632dd391181c5924
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sat Nov 21 13:43:23 2020 +0100
gnu: inspircd: Support Argon2 hashes.
* gnu/packages/irc.scm (inspircd)[arguments]: Enable the argon2 extra.
[inputs]: Add argon2.
---
gnu/packages/irc.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index c102e73..6114461 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -62,6 +62,7 @@
#:use-module (gnu packages openldap)
#:use-module (gnu packages kde)
#:use-module (gnu packages kde-frameworks)
+ #:use-module (gnu packages password-utils)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -513,7 +514,8 @@ interface for those who are accustomed to the ircII way of
doing things.")
(arguments
`(#:configure-flags (map (lambda (module)
(string-append "--enable-extras=" module))
- '("m_geo_maxmind.cpp"
+ '("m_argon2.cpp"
+ "m_geo_maxmind.cpp"
"m_ldap.cpp"
"m_mysql.cpp"
"m_pgsql.cpp"
@@ -551,7 +553,8 @@ interface for those who are accustomed to the ircII way of
doing things.")
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
- `(("gnutls" ,gnutls)
+ `(("argon2" ,argon2)
+ ("gnutls" ,gnutls)
("libmaxminddb" ,libmaxminddb)
("mbedtls-apache" ,mbedtls-apache)
("mysql" ,mysql)