[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/23] WIP: Add lets-encrypt.
From: |
Leo Famulari |
Subject: |
[PATCH 23/23] WIP: Add lets-encrypt. |
Date: |
Tue, 24 Nov 2015 16:02:23 -0500 |
* gnu/packages/tls.scm (lets-encrypt): New variable.
---
gnu/packages/tls.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index fd225ea..44824b5 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2014 Ian Denhardt <address@hidden>
;;; Copyright © 2013, 2015 Andreas Enge <address@hidden>
+;;; Copyright © 2015 David Thompson <address@hidden>
;;; Copyright © 2015 Leo Famulari <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -27,14 +28,17 @@
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
#:use-module (gnu packages compression)
#:use-module (gnu packages)
#:use-module (gnu packages guile)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages base))
@@ -354,6 +358,59 @@ security, and applying best practice development
processes.")
(description "ACME protocol implementation in Python")
(license license:asl2.0)))
+(define-public lets-encrypt
+ (package
+ (name "lets-encrypt")
+ (version "0.0.0.dev20151123")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/l/"
+ "letsencrypt/letsencrypt-" version
".tar.gz"))
+ (sha256
+ (base32
+ "0p7jybpaf38xdz6xja5ik34mdwhv7k8npa3s1yk2z6flz3l52p1n"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases (modify-phases %standard-phases
+ (add-after
+ 'wrap 'wrap-programs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin/"))
+ (dia (assoc-ref %build-inputs "dialog"))
+ (diabin (string-append dia "/bin/")))
+ (for-each (lambda (file)
+ (wrap-program file
+ `("PATH" ":" prefix (,diabin))))
+ (find-files bin "\\.*$"))
+ #t))))))
+ ;; TODO: Add optional inputs for testing building documentation.
+ (native-inputs
+ `(("python2-nose" ,python2-nose)
+ ("python2-mock" ,python2-mock)))
+ (inputs
+ `(("acme" ,acme)))
+ (propagated-inputs
+ `(("python2-zope-interface" ,python2-zope-interface)
+ ("python2-pythondialog" ,python2-pythondialog)
+ ("python2-pyrfc3339" ,python2-pyrfc3339)
+ ("python2-pyopenssl" ,python2-pyopenssl)
+ ("python2-configobj" ,python2-configobj)
+ ("python2-configargparse" ,python2-configargparse)
+ ("python2-zope-component" ,python2-zope-component)
+ ("python2-parsedatetime" ,python2-parsedatetime)
+ ("python2-six" ,python2-six)
+ ("python2-psutil" ,python2-psutil)
+ ("python2-requests" ,python2-requests)
+ ("python2-pytz" ,python2-pytz)))
+ (synopsis "Let's Encrypt client")
+ (description "Tool to automatically receive and install X.509 certificates
+to enable TLS on servers. The client will interoperate with the Let’s Encrypt
CA which
+will be issuing browser-trusted certificates for free.")
+ (home-page "https://letsencrypt.org/")
+ (license license:asl2.0)))
+
(define-public perl-net-ssleay
(package
(name "perl-net-ssleay")
--
2.6.2
- [PATCH 14/23] gnu: Add python-werkzeug., (continued)
- [PATCH 14/23] gnu: Add python-werkzeug., Leo Famulari, 2015/11/24
- [PATCH 16/23] gnu: Add dialog., Leo Famulari, 2015/11/24
- [PATCH 15/23] gnu: Add python-configobj., Leo Famulari, 2015/11/24
- [PATCH 19/23] gnu: Add python-ndg-httpsclient., Leo Famulari, 2015/11/24
- [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5., Leo Famulari, 2015/11/24
- [PATCH 22/23] gnu: Add acme., Leo Famulari, 2015/11/24
- [PATCH 21/23] gnu: Add python2-parsedatetime., Leo Famulari, 2015/11/24
- [PATCH 23/23] WIP: Add lets-encrypt.,
Leo Famulari <=