From 704bed1626acd2723d6e1484885ee83902c7e6b0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 29 Jun 2024 10:39:37 +0200 Subject: 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(+) (limited to 'gnu') 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") -- cgit v1.2.3