rekahsoft-gnu: Add emacs-org-html-theme-darksun
This commit is contained in:
parent
d81b47f433
commit
8aa4ff74e2
@ -849,6 +849,49 @@ dashboard!")
|
|||||||
"Export Org mode files into awesome HTML in 2 minutes.")
|
"Export Org mode files into awesome HTML in 2 minutes.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
|
(define-public emacs-org-html-theme-darksun
|
||||||
|
(package
|
||||||
|
(name "emacs-org-html-theme-darksun")
|
||||||
|
(version "0.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/alphapapa/org-html-theme-darksun")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0vncqab5ad6cbgqfq4qrf070q11858mvi0zhmji5ij2a233m3an6"))))
|
||||||
|
(build-system copy-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'hardcode-setup-file-paths
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(src (string-append out "/var/org-themes/org-html-theme-darksun/export/")))
|
||||||
|
(for-each
|
||||||
|
(lambda (setup-file)
|
||||||
|
(substitute* setup-file
|
||||||
|
(("src=\"export/")
|
||||||
|
(string-append "src=\"" src))
|
||||||
|
(("href=\"export/")
|
||||||
|
(string-append "href=\"" src))))
|
||||||
|
(find-files out "\\.setup$"))
|
||||||
|
#t))))
|
||||||
|
#:install-plan
|
||||||
|
;; TODO: src contains a bunch of minified javascript, which blocks
|
||||||
|
;; this package from being merged upstream until resolved
|
||||||
|
'(("export/styles" "var/org-themes/org-html-theme-darksun/export/styles")
|
||||||
|
("export/setup/" "var/org-themes/org-html-theme-darksun"
|
||||||
|
#:include-regexp ("-local\\.setup$")))))
|
||||||
|
(home-page
|
||||||
|
"https://github.com/alphapapa/org-html-theme-darksun")
|
||||||
|
(synopsis "Solarized Dark version of the Bigblow Org HTML export theme")
|
||||||
|
(description
|
||||||
|
"Solarized Dark version of the Bigblow Org HTML export theme.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-all-the-icons-ibuffer
|
(define-public emacs-all-the-icons-ibuffer
|
||||||
(package
|
(package
|
||||||
(name "emacs-all-the-icons-ibuffer")
|
(name "emacs-all-the-icons-ibuffer")
|
||||||
|
Loading…
Reference in New Issue
Block a user