projects/guix·blob python-team · refs

85 lines · 3.3 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Andreas Enge <[email protected]>
3;;; Copyright © 2017 Ricardo Wurmus <[email protected]>
4;;; Copyright © 2017 Eric Bavier <[email protected]>
5;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
6;;; Copyright © 2020-2022 Efraim Flashner <[email protected]>
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages gsasl)
24 #:use-module (gnu packages)
25 #:use-module (gnu packages compression)
26 #:use-module (gnu packages libidn)
27 #:use-module (gnu packages gnupg)
28 #:use-module (gnu packages nettle)
29 #:use-module (gnu packages kerberos)
30 #:use-module (gnu packages tls)
31 #:use-module ((guix licenses) #:prefix license:)
32 #:use-module (guix packages)
33 #:use-module (guix download)
34 #:use-module (guix build-system gnu))
35
36(define-public libntlm
37 (package
38 (name "libntlm")
39 (version "1.6")
40 (source (origin
41 (method url-fetch)
42 (uri (string-append "https://www.nongnu.org/libntlm/releases/"
43 "libntlm-" version ".tar.gz"))
44 (sha256
45 (base32
46 "08b83nss16jsn213j326yhn1vnrz10k15fwq6jm5b1vdn23nndzj"))))
47 (build-system gnu-build-system)
48 (synopsis "Library that implements NTLM authentication")
49 (description
50 "Libntlm is a library that implements NTLM authentication.")
51 (license license:lgpl2.1+)
52 (home-page "https://www.nongnu.org/libntlm/")))
53
54(define-public gsasl
55 (package
56 (name "gsasl")
57 (version "2.2.2")
58 (source (origin
59 (method url-fetch)
60 (uri (string-append "mirror://gnu/gsasl/gsasl-" version
61 ".tar.gz"))
62 (sha256
63 (base32
64 "1fpkxxsz4bjk8bry6l5girnbjc45n7a97bfrb5jazk4fci1f9s21"))))
65 (build-system gnu-build-system)
66 (arguments
67 `(#:configure-flags '("--with-gssapi-impl=mit"
68 "--disable-static")))
69 (inputs
70 (list libgcrypt libidn libntlm mit-krb5 zlib))
71 (native-inputs
72 (list ;; Needed for cross compiling.
73 libgcrypt))
74 (propagated-inputs
75 ;; Propagate GnuTLS because libgnutls.la reads `-lnettle', and Nettle is a
76 ;; propagated input of GnuTLS.
77 (list gnutls))
78 (synopsis "Simple Authentication and Security Layer library")
79 (description
80 "GNU SASL is an implementation of the Simple Authentication and
81Security Layer framework. On network servers such as IMAP or SMTP servers,
82SASL is used to handle client/server authentication. This package contains
83both a library and a command-line tool to access the library.")
84 (license license:gpl3+)
85 (home-page "https://www.gnu.org/software/gsasl/")))