unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: [PATCH] import: elpa default to tls for elpa-archives.
Date: Tue, 30 Aug 2016 12:45:16 +0000	[thread overview]
Message-ID: <87vayio277.fsf@we.make.ritual.n0.is> (raw)

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Same reason and changes as written in
http://lists.gnu.org/archive/html/guix-devel/2016-08/msg01993.html
(hackage http->https change).


[-- Attachment #2: 0001-import-elpa-default-to-tls-for-elpa-archives.patch --]
[-- Type: text/x-patch, Size: 1376 bytes --]

From a89549bc9e794201b3f2673a08d4322ad0832a0e Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
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.
---
 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 <beffa@fbengineering.ch>
 ;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; 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


[-- Attachment #3: Type: text/plain, Size: 35 bytes --]


Hello world package using melpa.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0002-gnu-Add-emacs-abyss-theme.patch --]
[-- Type: text/x-patch, Size: 1568 bytes --]

From 63ebd92798d389bd1687e716dd86d179d895c654 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
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


[-- Attachment #5: Type: text/plain, Size: 70 bytes --]


-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org

             reply	other threads:[~2016-08-30 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 12:45 ng0 [this message]
2016-08-30 13:04 ` [PATCH] import: elpa default to tls for elpa-archives ng0
2016-08-30 13:12 ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vayio277.fsf@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).