guix-patches
[Top][All Lists]
Advanced

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

[bug#54357] [PATCH 4/4] gnu: Add kak-sudo-write


From: (unmatched-parenthesis
Subject: [bug#54357] [PATCH 4/4] gnu: Add kak-sudo-write
Date: Sun, 13 Mar 2022 22:16:04 +0000

* gnu/packages/text-editors.scm (kak-sudo-write): New variable.
---
 gnu/packages/text-editors.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 1da94e1066..5eed162ab5 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -293,6 +293,31 @@ (define-public kak-auto-pairs
      (description "This package provides automatic pair completion for the 
Kakoune text editor.")
      (license license:unlicense))))
 
+(define-public kak-sudo-write
+  (let ((commit "ec0d6d26ceaadd93d6824630ba587b31e442214d")
+        (revision "0"))
+    (package
+     (name "kak-sudo-write")
+     (version (git-version "0.0.0" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/occivink/kakoune-sudo-write";)
+             (commit commit)))
+       (sha256
+        (base32 "1c1wajm3c2aa0lda36y2yj2fvf4fbdqjl5ishh9p8qkjxbrb1v1v"))))
+     (build-system copy-build-system)
+     (arguments
+      `(#:install-plan
+        '(("sudo-write.kak" "share/kak/autoload/sudo-write.kak"))))
+     (propagated-inputs (list kakoune))
+     (home-page "https://github.com/occivink/kakoune-sudo-write";)
+     (synopsis "Kakoune plugin to save files that you do not have write 
permissions for.")
+     (description "This package provides a Kakoune plugin that uses sudo to 
allow saving files that you
+do not have permission to write.")
+     (license license:unlicense))))
+
 (define-public parinfer-rust
   (package
     (name "parinfer-rust")
-- 
2.34.0






reply via email to

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