From 7d38c4d12a51921756d5646c1c538e1cfbb163b4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 16 Jan 2024 01:04:59 -0800 Subject: [PATCH] Move emacs-outli to emacs packages file --- oni/packages/emacs-outli.scm | 30 ------------------------------ oni/packages/emacs.scm | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 30 deletions(-) delete mode 100644 oni/packages/emacs-outli.scm diff --git a/oni/packages/emacs-outli.scm b/oni/packages/emacs-outli.scm deleted file mode 100644 index b60cf08..0000000 --- a/oni/packages/emacs-outli.scm +++ /dev/null @@ -1,30 +0,0 @@ -(define-module (oni packages emacs-outli) - #:use-module (guix packages) - #:use-module (guix utils) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system emacs) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (gnu packages emacs-xyz)) - -(define-public emacs-outli - (package - (name "emacs-outli") - (version "0.1.0") - (source - (origin - (uri (git-reference - (url "https://github.com/jdtsmith/outli") - (commit (string-append "v" version)))) - (method git-fetch) - (file-name (git-file-name name version)) - (sha256 - (base32 "1yyh334r26pjgcx51rrxacwiranysnhbdz83xgpjwaby280xwlgb")))) - (build-system emacs-build-system) - (home-page "https://github.com/jdtsmith/outli") - (synopsis "Simple comment-based outlines for Emacs") - (description "outli is a simple Emacs outliner for code, documents, and more which styles your -headings, and emulates org-mode navigation and structure editing. It is based on -the built-in outline-minor-mode and is simple by design, providing just a few -key features.") - (license license:gpl3+))) diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm index 6f20a83..913d1d8 100644 --- a/oni/packages/emacs.scm +++ b/oni/packages/emacs.scm @@ -497,3 +497,25 @@ the way, but at the same time will be readable enough to know it's content.") Syncthing REST API and request package to get this data and display it in an Emacs buffer.") (license license:expat)))) + +(define-public emacs-outli + (package + (name "emacs-outli") + (version "0.1.0") + (source + (origin + (uri (git-reference + (url "https://github.com/jdtsmith/outli") + (commit (string-append "v" version)))) + (method git-fetch) + (file-name (git-file-name name version)) + (sha256 + (base32 "1yyh334r26pjgcx51rrxacwiranysnhbdz83xgpjwaby280xwlgb")))) + (build-system emacs-build-system) + (home-page "https://github.com/jdtsmith/outli") + (synopsis "Simple comment-based outlines for Emacs") + (description "outli is a simple Emacs outliner for code, documents, and more which styles your +headings, and emulates org-mode navigation and structure editing. It is based on +the built-in outline-minor-mode and is simple by design, providing just a few +key features.") + (license license:gpl3+)))