[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] import: elpa default to tls for elpa-archives.
From: |
ng0 |
Subject: |
Re: [PATCH] import: elpa default to tls for elpa-archives. |
Date: |
Tue, 30 Aug 2016 13:12:57 +0000 |
ng0 <address@hidden> writes:
> Same reason and changes as written in
> http://lists.gnu.org/archive/html/guix-devel/2016-08/msg01993.html
> (hackage http->https change).
>
> From a89549bc9e794201b3f2673a08d4322ad0832a0e Mon Sep 17 00:00:00 2001
> From: ng0 <address@hidden>
> Date: Tue, 30 Aug 2016 12:37:20 +0000
> Subject: [PATCH 1/2] import: elpa: default to tls for elpa-archives.
>
> * guix/import/elpa.scm (elpa-url)[elpa-archives]: Use tls.
For commiter, could you be so kind and fix
import: elpa: default to tls for elpa-archives.
to
import: elpa: Default to tls for elpa-archives.
? thanks.
> ---
> guix/import/elpa.scm | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
> index 320a09e..c241aef 100644
> --- a/guix/import/elpa.scm
> +++ b/guix/import/elpa.scm
> @@ -1,6 +1,7 @@
> ;;; GNU Guix --- Functional package management for GNU
> ;;; Copyright © 2015 Federico Beffa <address@hidden>
> ;;; Copyright © 2015, 2016 Ludovic Courtès <address@hidden>
> +;;; Copyright © 2016 ng0 <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -70,9 +71,9 @@ NAMES (strings)."
> (define* (elpa-url #:optional (repo 'gnu))
> "Retrun the URL of REPO."
> (let ((elpa-archives
> - '((gnu . "http://elpa.gnu.org/packages")
> - (melpa-stable . "http://stable.melpa.org/packages")
> - (melpa . "http://melpa.org/packages"))))
> + '((gnu . "https://elpa.gnu.org/packages")
> + (melpa-stable . "https://stable.melpa.org/packages")
> + (melpa . "https://melpa.org/packages"))))
> (assq-ref elpa-archives repo)))
>
> (define* (elpa-fetch-archive #:optional (repo 'gnu))
> --
> 2.9.3
>
>
> Hello world package using melpa.
>
> From 63ebd92798d389bd1687e716dd86d179d895c654 Mon Sep 17 00:00:00 2001
> From: ng0 <address@hidden>
> Date: Tue, 30 Aug 2016 12:42:08 +0000
> Subject: [PATCH 2/2] gnu: Add emacs-abyss-theme.
>
> * gnu/packages/emacs.scm (emacs-abyss-theme): New variable.
> ---
> gnu/packages/emacs.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 4fe9a8a..8589fe8 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -3002,3 +3002,25 @@ lists, and project planning with a fast and effective
> plain-text system. It
> also is an authoring system with unique support for literate programming and
> reproducible research.")
> (license license:gpl3+)))
> +
> +(define-public emacs-abyss-theme
> + (package
> + (name "emacs-abyss-theme")
> + (version "20160420.512")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://melpa.org/packages/abyss-theme-"
> + version ".el"))
> + (sha256
> + (base32
> + "089cjqfcmi5w7ihxhxad7x82wknm47vcxfd979xxar1zvsg4qmzr"))))
> + (build-system emacs-build-system)
> + (home-page "https://github.com/mgrbyte/emacs-abyss-theme")
> + (synopsis "A dark theme with contrasting colours.")
> + (description
> + "A dark theme with contrasting colours for Emacs24 based on the
> +``Lush`` theme by Andre Richter, using the same colours palette
> +as the the built-in `dichromacy' theme; intended to be suitable
> +for red/green colour blind users.")
> + (license license:gpl3+)))
> --
> 2.9.3
>
>
> --
> ng0
> For non-prism friendly talk find me on http://www.psyced.org
--
ng0
For non-prism friendly talk find me on http://www.psyced.org