guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54979] [PATCH] gnu: Add emacs-straight-el.


From: Nicolas Goaziou
Subject: [bug#54979] [PATCH] gnu: Add emacs-straight-el.
Date: Thu, 23 Jun 2022 23:50:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-straight-el): New variable.

I applied it with minor changes, detailed below.

Thank you.

> +(define-public emacs-straight-el
> +  (let ((commit "af5437f2afd00936c883124d6d3098721c2d306c")

I updated it to latest commit.

> +        (revision "0"))
> +    (package
> +      (name "emacs-straight-el")
> +      (version (git-version "0" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri
> +          (git-reference
> +           (url "https://github.com/raxod502/straight.el";)
> +           (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32 "1mpaq373d6yl8yaqmdg634lm3vwnz0xhzcvhm85kmqk36pkpj7ij"))))
> +      (build-system emacs-build-system)
> +      (arguments
> +        (list #:phases

I also activated tests.

> +              #~(modify-phases %standard-phases
> +                  (add-after 'unpack 'patch-git-executable
> +                    (lambda* (#:key inputs #:allow-other-keys)
> +                        (make-file-writable "straight.el")
> +                        (substitute* "straight.el"
> +                          (("\"git\"")
> +                           (string-append "\""
> +                                          (search-input-file inputs 
> "/bin/git") 
> +                                          "\""))))))))
> +      (inputs
> +        (list git))
> +      (propagated-inputs
> +        (list emacs-magit))
> +      (home-page "https://github.com/raxod502/straight.el/";)
> +      (synopsis "Purely functional package manager for the Emacs hacker")
> +      (description
> +"@code{emacs-straight-el} is a next-generation, purely functional package
> +manager for the Emacs hacker.")

I removed "next-generation" buzz-word.

Regards,
-- 
Nicolas Goaziou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]