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.
(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 via email to