unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: use of git-fetch
Date: Wed, 22 Jul 2015 18:32:45 +0200	[thread overview]
Message-ID: <CAKrPhPMa1h48zwpa7XBJuve3ZHPeb+fjQRdXh=H97RadcDa5Aw@mail.gmail.com> (raw)

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

Hi,

I'm trying to package some emacs libraries that appear not to have a
GNU style installation procedure. Given that MELPA is unusable, I'm
trying to use 'git-fetch'.

The package 'emacs-dash' (see attachment) works as expected. However,
the package 'emacs-s' also downloads 'dash' and not 's'. I cloned with
git the two repositories with the given URLs and they definitely are
different.

Am I doing something wrong?

Thanks,
Fede

P.S. The hash of 'emacs-s' is wrong. It is a copy of the one for
'emacs-dash' and I will change it once I manage to download the right
repo.

[-- Attachment #2: git-fetch-dash-s.scm --]
[-- Type: text/x-scheme, Size: 1462 bytes --]

(define-public emacs-dash
  (package
    (name "emacs-dash")
    (version "eadb2651bb")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (commit version)
                    (url "https://github.com/magnars/dash.el.git")))
              (sha256
               (base32
                "06mc7kh3fzdh2mqkyynjnp0xpv30yfaiik8bqv8z5b6hldji3cky"))))
    (build-system emacs-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'install 'check
                     (lambda _
                       (zero? (system* "./run-tests.sh")))))))
    (home-page "https://github.com/magnars/dash.el")
    (synopsis "Modern list library for Emacs")
    (description "An Emacs library providing a modern list API.")
    (license license:gpl3+)))

(define-public emacs-s
  (package
    (name "emacs-s")
    (version "e59915ec6f")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (commit version)
                    (url "https://github.com/magnars/s.el.git")))
              (sha256
               (base32
                "06mc7kh3fzdh2mqkyynjnp0xpv30yfaiik8bqv8z5b6hldji3cky"))))
    (build-system emacs-build-system)
    (home-page "https://github.com/magnars/s.el")
    (synopsis "Emacs string manipulation library.")
    (description "An Emacs library for manipulating strings.")
    (license license:gpl3+)))

             reply	other threads:[~2015-07-22 16:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 16:32 Federico Beffa [this message]
2015-07-22 17:00 ` use of git-fetch Thompson, David
2015-07-23  6:20   ` Federico Beffa
2015-07-22 21:10 ` Ludovic Courtès
2015-07-23  6:29   ` Federico Beffa
2015-07-23 22:50     ` Ludovic Courtès
2015-07-24 14:32       ` Federico Beffa
2015-07-24 20:35         ` Ludovic Courtès
2015-07-24 17:46 ` 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='CAKrPhPMa1h48zwpa7XBJuve3ZHPeb+fjQRdXh=H97RadcDa5Aw@mail.gmail.com' \
    --to=beffa@ieee.org \
    --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).