gnu: Rename module gnutls to tls.
[jackhill/guix/guix.git] / gnu / packages / shishi.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
cbca6eb5 2;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
233e7676 3;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
6ee5a658 4;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
5b2fd618 5;;;
233e7676 6;;; This file is part of GNU Guix.
5b2fd618 7;;;
233e7676 8;;; GNU Guix is free software; you can redistribute it and/or modify it
5b2fd618
NK
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
233e7676 13;;; GNU Guix is distributed in the hope that it will be useful, but
5b2fd618
NK
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
233e7676 19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
5b2fd618 20
1ffa7090 21(define-module (gnu packages shishi)
cbca6eb5 22 #:use-module ((guix licenses) #:select (gpl3+))
59a43334 23 #:use-module (gnu packages)
1ffa7090 24 #:use-module (gnu packages gnupg)
6ee5a658
MW
25 #:use-module (gnu packages libidn)
26 #:use-module (gnu packages linux)
27 #:use-module (gnu packages pkg-config)
cbca6eb5 28 #:use-module (gnu packages compression)
a7fd7b68 29 #:use-module (gnu packages tls)
5b2fd618
NK
30 #:use-module (guix packages)
31 #:use-module (guix download)
32 #:use-module (guix build-system gnu))
33
34(define-public shishi
35 (package
36 (name "shishi")
cbca6eb5 37 (version "1.0.2")
5b2fd618
NK
38 (source
39 (origin
40 (method url-fetch)
cbca6eb5
NK
41 (uri (string-append "mirror://gnu/shishi/shishi-"
42 version ".tar.gz"))
5b2fd618
NK
43 (sha256
44 (base32
cbca6eb5 45 "032qf72cpjdfffq1yq54gz3ahgqf2ijca4vl31sfabmjzq9q370d"))))
5b2fd618 46 (build-system gnu-build-system)
6ee5a658 47 (native-inputs `(("pkg-config" ,pkg-config)))
5b2fd618
NK
48 (inputs
49 `(("gnutls" ,gnutls)
6ee5a658
MW
50 ("libidn" ,libidn)
51 ("linux-pam" ,linux-pam)
cbca6eb5 52 ("zlib" ,zlib)
e1482035
AE
53 ;; libgcrypt 1.6 fails because of the following test:
54 ;; #include <gcrypt.h>
55 ;; /* GCRY_MODULE_ID_USER was added in 1.4.4 and gc-libgcrypt.c
56 ;; will fail on startup if we don't have 1.4.4 or later, so
57 ;; test for it early. */
58 ;; #if !defined GCRY_MODULE_ID_USER
59 ;; error too old libgcrypt
60 ;; #endif
61 ("libgcrypt" ,libgcrypt-1.5)
cbca6eb5 62 ("libtasn1" ,libtasn1)))
5b2fd618 63 (home-page "http://www.gnu.org/software/shishi/")
f50d2669 64 (synopsis "Implementation of the Kerberos 5 network security system")
5b2fd618 65 (description
79c311b8 66 "GNU Shishi is a free implementation of the Kerberos 5 network security
a22dc0c4
LC
67system. It is used to allow non-secure network nodes to communicate in a
68secure manner through client-server mutual authentication via tickets.")
cbca6eb5 69 (license gpl3+)))