summaryrefslogtreecommitdiff
path: root/rodion/packages/blogs.scm
blob: d76dc439afdb29f40cd5a3d48f07650552afb454 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(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.")))