summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-21 13:43:23 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-21 23:00:06 +0100
commitc5fcdb5cf7de57c7575f90a2632dd391181c5924 (patch)
treec0e6781e28010a9c7c0928ea8819602bd4b8592e
parentfb71e5a83d317217c3d9d93fe9bbb49cc399fa10 (diff)
downloadguix-c5fcdb5cf7de57c7575f90a2632dd391181c5924.tar.gz
gnu: inspircd: Support Argon2 hashes.
* gnu/packages/irc.scm (inspircd)[arguments]: Enable the argon2 extra.
[inputs]: Add argon2.
-rw-r--r--gnu/packages/irc.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index c102e73cc6..61144618c0 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)