summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.")))