Subject: bug#44274: closed (Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 29 Oct 2020 09:21:02 +0000

Your bug report

#44274: [PATCH] gnu: Add emacs-powershell.el

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44274: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44274
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el
From: Nicolas Goaziou <[email-masked]>
To: Adam Kandur <[email-masked]>
Cc: [email-masked]
Date: Thu, 29 Oct 2020 10:20:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Adam Kandur <[email-masked]> writes:

> hi, attached new patch. hope it is correct

I fixed indentation, the version tag, added a home-page, tweaked the
description, and pushed your patch.

Thanks.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-powershell.el
From: Adam Kandur <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Wed, 28 Oct 2020 09:39:13 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

Sometimes use it for work, would be great to have in guix,

Adam Kandur
>From debe288267094e2eefff6083ac4d245020a4909d Mon Sep 17 00:00:00 2001
From: Adam <[email-masked]>
Date: Wed, 28 Oct 2020 11:35:03 +0300
Subject: [PATCH] gnu: Add emacs-powershell.el

* gnu/packages/emacs-xyz.scm (emacs-powershell.el): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 019b2c6..8470829 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25091,6 +25091,29 @@ built-in generator package.  It provides @code{iter2-defun} and
 original package.")
     (license license:gpl3+)))
 
+(define-public emacs-powershell.el
+  (let ((revision "0")
+        (commit "d1b3f95669343399f199f291ef76c09a0ede5e60"))
+    (package
+      (name "emacs-powershell.el")
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include '("\\.el$")))
+      (version "master") ;; tagged branch is outdated (2015)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+	       (url "https://github.com/jschaf/powershell.el")
+	       (commit version)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1cxhzaaig88zhylyycvb3849r85j1ijqklnh9zbqsfl2zhpb0g5c"))))
+      (home-page "https://github.com/jschaf/powershell.el")
+      (synopsis "Mode for editing PowerShell scripts")
+      (description "@code{powershell.el} Mode is an Emacs major mode for editing and running Microsoft PowerShell files.")
+      (license license:gpl3+))))
+
 (define-public emacs-promise
   (package
     (name "emacs-promise")
-- 
2.28.0