From 0c0926ff46b122f93292f39c75f1bfd7ee18af96 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Tue, 14 May 2024 00:32:35 +0400 Subject: gnu: Add baldeagle. * rodion/packages/blogs.scm (baldeagle): New variable. --- rodion/packages/blogs.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 rodion/packages/blogs.scm diff --git a/rodion/packages/blogs.scm b/rodion/packages/blogs.scm new file mode 100644 index 0000000..4432d50 --- /dev/null +++ b/rodion/packages/blogs.scm @@ -0,0 +1,36 @@ +(define-module (rodion packages blogs) + #:use-module (guix packages) + #:use-module (guix build-system copy) + #:use-module (guix build-system cmake) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (gnu packages version-control) + #:use-module (gnu packages emacs) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public baldeagle + (package + (name "baldeagle") + (version "22ee6343702033bfff0f8b980ab2d96894fd2a8c") + (build-system copy-build-system) + (home-page "https://git.goritskov.com/rodion/baldeagle.git") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.goritskov.com/rodion/baldeagle.git") + (commit version))) + (sha256 + (base32 "0g156bdjig4zcac34k9p54bvq4zmvvb0ki1ygy55db51pp35irsb")))) + (inputs (list emacs-minimal git)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'install 'build-library + (lambda* (#:key inputs #:allow-other-keys) + (setenv "HOME" "/tmp") + (invoke "emacs" "--quick" "--batch" "--script" "publish.el")))) + #:install-plan ''(("baldeagle-public/" "share/baldeagle/")))) + (license license:expat) + (description "Baldeagle.me blog") + (synopsis "Baldeagle blog."))) -- cgit v1.2.3