unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Catonano <catonano@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] emacs-pkg-info
Date: Fri, 27 May 2016 11:47:50 +0200	[thread overview]
Message-ID: <CAJ98PDyR=GFvFUx4jqyFdDWDKQ9fB3A41W9q2AsbxjLuH8D-8Q@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 706 bytes --]

This patch should be committed before the one I sent previously
(emacs-queue)

This is an excerpt from the build log

In toplevel form:
test/pkg-info-test.el:34:1:Error: Cannot open load file: not a directory,
pkg-info-dummy-package
Compiling /gnu/store/38j122ni4zm2vcmfcyxhpd6l3qn8gh6g-emacs-pkg-info
-0.6/share/emacs/site-lisp/guix.d/pkg-info-0.6/test/test-helper.el...
Wrote /gnu/store/38j122ni4zm2vcmfcyxhpd6l3qn8gh6g-emacs-pkg-info
-0.6/share/emacs/site-lisp/guix.d/pkg-info-0.6/test/test-helper.elc



After pkg-info-dummy-package can't be found it gets successfully compiled

I think this is not a problem and the resulting build can be delivered to
Guix users.

I report this here for completeness

[-- Attachment #1.2: Type: text/html, Size: 1166 bytes --]

[-- Attachment #2: 0002-gnu-Add-new-variable-emacs-pkg-info.patch --]
[-- Type: text/x-patch, Size: 1355 bytes --]

From b0a71125d45a43a464b72cf8262aebf874ce8bc3 Mon Sep 17 00:00:00 2001
From: humanitiesNerd <catonano@gmail.com>
Date: Thu, 26 May 2016 01:59:21 +0200
Subject: gnu: Add new variable (emacs-pkg-info).

* gnu/packages/emacs.scm (emacs-pkg-info): New variable.
---

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e513dc6..347a573 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1709,3 +1709,27 @@ The purpose of this library is to wrap all the quirks and hassle of
 package.el into a sane API.")
     (license license:gpl3+)))
 
+(define-public emacs-pkg-info
+  (package
+    (name "emacs-pkg-info")
+    (version "0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/lunaryorn/pkg-info.el/archive/"
+             version
+             ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("emacs-epl" ,emacs-epl)))
+    (home-page
+     "https://github.com/lunaryorn/pkg-info.el")
+    (synopsis "Information about packages")
+    (description
+     "This library extracts information from installed packages.
+")
+    (license license:gpl3+)))
-- 
2.5.5


             reply	other threads:[~2016-05-27  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-27  9:47 Catonano [this message]
2016-05-28 18:53 ` [PATCH] emacs-pkg-info Alex Kost

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='CAJ98PDyR=GFvFUx4jqyFdDWDKQ9fB3A41W9q2AsbxjLuH8D-8Q@mail.gmail.com' \
    --to=catonano@gmail.com \
    --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).