unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44274] [PATCH] gnu: Add emacs-powershell.el
@ 2020-10-28  8:39 Adam Kandur via Guix-patches via
  2020-10-28  9:27 ` Nicolas Goaziou
  2020-10-28 10:01 ` Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Kandur via Guix-patches via @ 2020-10-28  8:39 UTC (permalink / raw)
  To: 44274

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]


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

Adam Kandur

[-- Attachment #2: 0001-gnu-Add-emacs-powershell.el.patch --]
[-- Type: text/x-patch, Size: 1660 bytes --]

From debe288267094e2eefff6083ac4d245020a4909d Mon Sep 17 00:00:00 2001
From: Adam <rndd@tuta.io>
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


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

end of thread, other threads:[~2020-10-29  9:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28  8:39 [bug#44274] [PATCH] gnu: Add emacs-powershell.el Adam Kandur via Guix-patches via
2020-10-28  9:27 ` Nicolas Goaziou
2020-10-28 10:01 ` Nicolas Goaziou
2020-10-28 11:04   ` Adam Kandur via Guix-patches via
2020-10-29  9:20     ` bug#44274: " Nicolas Goaziou

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