summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-05-14 00:32:35 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-05-14 00:32:35 +0400
commit0c0926ff46b122f93292f39c75f1bfd7ee18af96 (patch)
treeb62321c9bfd3570d09d6d7800ffb56aeaed24edb /rodion
parent01b58d81f324daa716f18140f2be1f7ec79bb8d8 (diff)
gnu: Add baldeagle.
* rodion/packages/blogs.scm (baldeagle): New variable.
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/blogs.scm36
1 files changed, 36 insertions, 0 deletions
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.")))