From a31ae09ad5ca6ede2fb3694e4c117b56ae3a3f20 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 22 Oct 2025 18:23:53 +0300 Subject: [PATCH] gnu: emacs-gnosis: Update to 0.5.6. * gnu/packages/video.scm (emacs-gnosis): Update to 0.5.6. Change-Id: I26b58ec2fb26e727f40c2606c40e5566529d0acc --- gnu/packages/emacs-xyz.scm | 65 +++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f24141b6bb2f3872c7f593a780dbd4c1e7c197d3..c74e60834bd9ab55af67b857c6e9ddc82be3a9b5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21089,42 +21089,41 @@ are common in Chromium-derived projects.") (license license:bsd-3))) (define-public emacs-gnosis - (let ((commit "0c1a5dc92e4495976fc2d952dbea59873a4db797")) - (package - (name "emacs-gnosis") - (version "0.5.5") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://git.thanosapollo.org/gnosis") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "05cdaa3n61c361lxp3hz2v1zwa6dlrihakz1xb3mf06fy2vbxib1")))) - (build-system emacs-build-system) - (arguments (list #:test-command #~(list "make" "test") - #:emacs emacs ; tests require built-in SQLite support - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'set-home - (lambda _ - (setenv "HOME" (getenv "TMPDIR")) - (mkdir-p (string-append (getenv "HOME") - "/.emacs.d")))) - (add-before 'install 'make-info - (lambda _ (invoke "make" "doc")))))) - (native-inputs (list texinfo)) - (propagated-inputs - (list emacs-compat emacs-emacsql emacs-org-gnosis emacs-transient)) - (home-page "https://thanosapollo.org/projects/gnosis") - (synopsis "Spaced repetition system for GNU Emacs") - (description - "Gnosis is a spaced repetition system for note-taking and self-testing + (package + (name "emacs-gnosis") + (version "0.5.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.thanosapollo.org/gnosis") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mri7rwfakjg7fgy50vdfap85a84d5088fx5bjrz4wi95lx7j2kj")))) + (build-system emacs-build-system) + (arguments (list #:test-command #~(list "make" "test") + #:emacs emacs ; tests require built-in SQLite support + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" (getenv "TMPDIR")) + (mkdir-p (string-append (getenv "HOME") + "/.emacs.d")))) + (add-before 'install 'make-info + (lambda _ (invoke "make" "doc")))))) + (native-inputs (list texinfo)) + (propagated-inputs + (list emacs-compat emacs-emacsql emacs-org-gnosis emacs-transient)) + (home-page "https://thanosapollo.org/projects/gnosis") + (synopsis "Spaced repetition system for GNU Emacs") + (description + "Gnosis is a spaced repetition system for note-taking and self-testing where notes are formatted as Question/Answer/Explanation. Notes are reviewed at spaced intervals based on the success or failure in recalling the answer to each question.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-drag-stuff (package