gnu: inspircd: Support Argon2 hashes.

* gnu/packages/irc.scm (inspircd)[arguments]: Enable the argon2 extra.
[inputs]: Add argon2.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-21 13:43:23 +01:00
parent fb71e5a83d
commit c5fcdb5cf7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -62,6 +62,7 @@ (define-module (gnu packages irc)
#: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 @@ (define-public inspircd
(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 @@ (define-public inspircd
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("gnutls" ,gnutls)
`(("argon2" ,argon2)
("gnutls" ,gnutls)
("libmaxminddb" ,libmaxminddb)
("mbedtls-apache" ,mbedtls-apache)
("mysql" ,mysql)