(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 (rodion packages emacs) #:use-module ((guix licenses) #:prefix license:)) (define-public baldeagle (package (name "baldeagle") (version "16a28c3bbffc214aab970631506e6aa93c86b592") (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 "0jvqbswhz0hh0pasdc3wi1mgfcr89h4pnvpqnja1rsq1k59gc7sg")))) (native-inputs (list emacs-minimal git emacs-ox-gemini/latest)) (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/") ("baldeagle-gemini/" "share/baldeagle-gemini/")))) (license license:expat) (description "Baldeagle.me blog") (synopsis "Baldeagle blog.")))