guix-commits
[Top][All Lists]
Advanced

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

18/24: gnu: Add emacs-casual-lib.


From: guix-commits
Subject: 18/24: gnu: Add emacs-casual-lib.
Date: Sat, 29 Jun 2024 04:47:16 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 704bed1626acd2723d6e1484885ee83902c7e6b0
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Jun 29 10:39:37 2024 +0200

    gnu: Add emacs-casual-lib.
    
    * gnu/packages/emacs-xyz.scm (emacs-casual-lib): New variable.
    
    Change-Id: I7b5baa39985c55ef51281baeb2df65a8c11879b4
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2b7e328c9d..6501097097 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33026,6 +33026,37 @@ all of your projects, then override or add variables 
on a per-project basis.")
      "Casual Dired is an opinionated Transient-based porcelain for Emacs 
Dired.")
     (license license:gpl3+)))
 
+(define-public emacs-casual-lib
+  (package
+    (name "emacs-casual-lib")
+    (version "1.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/kickingvegas/casual-lib";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0dn6jz8bbz17326g0jd1hvz80xxmbl7dwifb2nnw7nl6q6adbkmf"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #t
+           #:test-command #~(list "make" "tests")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'move-source-files
+                 (lambda _
+                   (let ((el-files (find-files "./lisp" ".*\\.el$")))
+                     (for-each (lambda (f) (copy-file f (basename f)))
+                               el-files)))))))
+    (native-inputs (list python-minimal))
+    (home-page "https://github.com/kickingvegas/casual-lib";)
+    (synopsis "Library package for the Emacs Casual porcelains")
+    (description
+     "Casual Lib is a library package used to support the Casual porcelains.")
+    (license license:gpl3+)))
+
 (define-public emacs-calibredb
   (package
     (name "emacs-calibredb")



reply via email to

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