unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* use of git-fetch
@ 2015-07-22 16:32 Federico Beffa
  2015-07-22 17:00 ` Thompson, David
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Federico Beffa @ 2015-07-22 16:32 UTC (permalink / raw)
  To: Guix-devel

[-- 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+)))

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-24 20:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 16:32 use of git-fetch Federico Beffa
2015-07-22 17:00 ` 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

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).