blob: f255fe941a271b2c3baa68f8e961d1a623c008de (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
(define-module (elenq documentation)
#:use-module (elenq graphics)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system copy)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (gnu packages haskell-xyz))
(define-public elenq-pandoc-templates
(let ((revision "4")
(commit "4d65ed1bf92e46d04565b9cc1188db5e57f20f37"))
(package
(name "elenq-pandoc-templates")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "git://git.elenq.tech/pandoc-templates")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "12260xxs293g527vnpy7vs634vmd59irsy005f15320rxjbrblq7"))))
(build-system copy-build-system)
(inputs (list elenq-logos))
(arguments
(list
#:install-plan ''(("pandoc" "/share/pandoc"))
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'set-url
(lambda _
(for-each
(lambda (f)
(substitute* f
(("\\$elenq-directory\\$")
(string-append #$elenq-logos "/share/elenq/"))))
(list "pandoc/templates/elenq-article.latex"
"pandoc/templates/elenq-book.latex")))))))
(native-search-paths
(list (search-path-specification
(variable "XDG_DATA_DIRS") ;; Not supported by pandoc _yet_
(files '("share")))))
(home-page "http://git.elenq.tech/pandoc-templates")
(synopsis "Pandoc templates for ElenQ Technology")
(description "A set of well configured Pandoc templates for ElenQ
Technology's documents.")
(license license:asl2.0))))
(define-public elenqdoc
(let ((revision "1")
(commit "1cb21742a69f681e6452a7ddd0adc9543aefd72a"))
(package
(name "elenqdoc")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "git://git.elenq.tech/elenqdoc")
(commit commit)))
(sha256
(base32 "0fdxskf3h14vdr9w5pi18svrz40p9qkbwcn4c4rp1b1azpbfsa6s"))))
(build-system copy-build-system)
(inputs (list elenq-pandoc-templates))
(propagated-inputs (list pandoc))
(arguments
(list
#:install-plan ''(("elenqdoc" "/bin/elenqdoc"))
#:phases #~(modify-phases %standard-phases
(add-after 'install 'wrap
(lambda _
(wrap-program (string-append #$output "/bin/elenqdoc")
`("ELENQDOC_DATADIR" =
(,(string-append #$elenq-pandoc-templates
"/share/pandoc/")))))))))
(home-page "http://git.elenq.tech/")
(synopsis "Simplified pandoc wrapper for ElenQ documents")
(description "Provides `elenqdoc` command.")
(license license:asl2.0))))
(define-public tiddlywiki5-bob
(package
(name "tiddlywiki5-bob")
(version "1.7.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/OokTech/TW5-Bob")
(commit version)))
(sha256
(base32 "0s8ssmxfc5ydn52xh8l1s8qyczy0vk6nrnwspc4in8f336vm8y4c"))))
(build-system copy-build-system)
(arguments
(list
#:install-plan ''(("./" "tiddlywiki/plugins/OokTech/Bob"))))
(home-page "https://github.com/OokTech/TW5-Bob")
(synopsis "A plugin that makes tiddlywiki a multi-user wiki on node")
(description "What does it do?
@itemize
@item Multi-User support for using/editing the same wiki(s) simultaneously
@item Multi-Wiki support - run it once and serve multiple wikis
@item Create and configure new wikis from inside the root wiki
@item Export single file wikis in a variety of ways
@item Two-way real-time syncing between the browser and file system
@item All configuration can be done from inside the wiki
@item Serve external files (like images) so you can include them in your wikis
@item Allows you to run shell scripts and commands from inside the wiki
@item Can be used as a plugin library to make plugins available to other wikis
(requires the TWederBob plugin on the other wikis to connect)
@item Inter-server federation. Different Bob servers can communicate to share
tiddlers and as chat servers/relays
@item HTTP API for interacting with the server
@end itemize")
(native-search-paths
(list (search-path-specification
(variable "TIDDLYWIKI_PLUGIN_PATH")
(files '("tiddlywiki/plugins")))))
(license license:bsd-3)))
|