gnu: inspircd: Support Argon2 hashes.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sat, 21 Nov 2020 12:43:23 +0000 (13:43 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sat, 21 Nov 2020 22:00:06 +0000 (23:00 +0100)
* gnu/packages/irc.scm (inspircd)[arguments]: Enable the argon2 extra.
[inputs]: Add argon2.

gnu/packages/irc.scm

index c102e73..6114461 100644 (file)
@@ -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)