emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#62060: closed ([PATCH] gnu: Add emacs-srht.)


From: GNU bug Tracking System
Subject: bug#62060: closed ([PATCH] gnu: Add emacs-srht.)
Date: Fri, 17 Mar 2023 08:25:03 +0000

Your message dated Fri, 17 Mar 2023 09:24:28 +0100
with message-id <87pm97dbur.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#62060] [PATCH] gnu: Add emacs-srht.
has caused the debbugs.gnu.org bug report #62060,
regarding [PATCH] gnu: Add emacs-srht.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62060: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62060
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-srht. Date: Wed, 08 Mar 2023 23:37:34 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
* gnu/packages/emacs-xyz.scm (emacs-srht): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3f7fcf4481..31896c1d3f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25332,6 +25332,41 @@ (define-public emacs-srfi
 them in your web browser.")
       (license license:expat))))
 
+(define-public emacs-srht
+  (package
+    (name "emacs-srht")
+    (version "0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~akagi/srht.el";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "10271yp9w9z27gjjpb7bnsqcrhqyvggrbmic6x1nlrn06vin1qkz"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #t
+      #:test-command #~(list "emacs" "--batch"
+                             "-l" "tests/srht-test.el"
+                             "-f" "ert-run-tests-batch-and-exit")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'move-source-files
+            (lambda _
+              (let ((el-files (find-files "./lisp" ".*\\.el$")))
+                (for-each (lambda (f)
+                            (rename-file f (basename f)))
+                          el-files)))))))
+    (propagated-inputs (list emacs-plz))
+    (home-page "https://git.sr.ht/~akagi/srht.el";)
+    (synopsis "Emacs sr.ht API client")
+    (description "This package provides bindings to the Sourcehut REST API as
+well as commands for interacting with it.")
+    (license license:gpl3+)))
+
 (define-public emacs-srv
   (package
     (name "emacs-srv")
-- 
2.39.1



-- 
Best regards,
conses



--- End Message ---
--- Begin Message --- Subject: Re: [bug#62060] [PATCH] gnu: Add emacs-srht. Date: Fri, 17 Mar 2023 09:24:28 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

conses <contact@conses.eu> writes:

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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

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