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

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sun, 17 Apr 2022 03:47:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54979 in the body.
You can then email your comments to 54979 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54979; Package guix-patches. (Sun, 17 Apr 2022 03:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 17 Apr 2022 03:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add emacs-straight-el.
Date: Sat, 16 Apr 2022 23:45:18 -0400
* gnu/packages/emacs-xyz.scm (emacs-straight-el): New variable.

Hi Guixers,

Here is straight.el

This package is also available from Guix 'R Us as a pre-release:

https://whereis.みんな/

all best,

jgart


---
 gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cc145175f0..52d9e6b5af 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -108,6 +108,7 @@
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi <at> taiju.info>
 ;;; Copyright © 2022 Brandon Lucas <br <at> ndon.dk>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 jgart <jgart <at> dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30900,6 +30901,45 @@ (define-public emacs-pyimport
 "@code{emacs-pyimport} manages python imports from Emacs via @code{python-pyflakes}.")
       (license license:gpl3+)))) ; License is in pyimport.el
 
+(define-public emacs-straight-el
+  (let ((commit "af5437f2afd00936c883124d6d3098721c2d306c")
+        (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
+              #~(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.")
+      (license license:expat))))
+
 (define-public emacs-osm
   (package
     (name "emacs-osm")
-- 
2.35.1





Information forwarded to guix-patches <at> gnu.org:
bug#54979; Package guix-patches. (Thu, 23 Jun 2022 21:51:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: jgart <jgart <at> dismail.de>, 54979-done <at> debbugs.gnu.org
Subject: Re: [bug#54979] [PATCH] gnu: Add emacs-straight-el.
Date: Thu, 23 Jun 2022 23:50:48 +0200
Hello,

jgart via Guix-patches via <guix-patches <at> 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 sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 23 Jun 2022 21:52:02 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Thu, 23 Jun 2022 21:52:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#54979; Package guix-patches. (Thu, 23 Jun 2022 22:03:02 GMT) Full text and rfc822 format available.

Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 54979-done <at> debbugs.gnu.org,
 jgart via Guix-patches via <guix-patches <at> gnu.org>
Subject: Re: [bug#54979] [PATCH] gnu: Add emacs-straight-el.
Date: Thu, 23 Jun 2022 17:02:02 -0500
On Thu, 23 Jun 2022 23:50:48 +0200 Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:

Thank you! Much appreciated :()

all best,

jgart




Information forwarded to guix-patches <at> gnu.org:
bug#54979; Package guix-patches. (Thu, 23 Jun 2022 22:03:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Jul 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.