summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-04-15 14:46:10 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-04-15 17:10:31 +0200
commitc214d47f6b8d6ab8b15a837885ab0656a532eac9 (patch)
tree36056776a4f8a2e8bb581850c09e9e7f63ade452
parentbd9a502a750648755da848e1063ca92bb7e27cb2 (diff)
Add a guix package definition
-rw-r--r--.guix-channel6
-rw-r--r--guix/vkraus/packages/h4sp.scm45
2 files changed, 51 insertions, 0 deletions
diff --git a/.guix-channel b/.guix-channel
new file mode 100644
index 0000000..8e7197b
--- /dev/null
+++ b/.guix-channel
@@ -0,0 +1,6 @@
+(channel
+ (version 0)
+ (directory "guix"))
+;; Local Variables:
+;; mode: scheme
+;; End:
diff --git a/guix/vkraus/packages/h4sp.scm b/guix/vkraus/packages/h4sp.scm
new file mode 100644
index 0000000..b600b36
--- /dev/null
+++ b/guix/vkraus/packages/h4sp.scm
@@ -0,0 +1,45 @@
+(define-module (vkraus packages h4sp))
+
+(use-modules
+ (guix packages)
+ ((guix licenses) #:prefix license:)
+ (guix download)
+ (guix git-download)
+ (guix build-system gnu)
+ (guix licenses)
+ (gnu packages)
+ (gnu packages autotools))
+
+(define-public h4sp
+ (package
+ (name "h4sp")
+ (version "1.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://labo.planete-kraus.eu/h4sp.git")
+ (commit version)))
+ (sha256
+ (base32
+ "0d39jxrypx77hvp64rlx98wad9i7h5ndqn9073knlfb55splw0j6"))
+ (snippet
+ `(begin
+ (with-output-to-file ".tarball-version"
+ (lambda _ (format #t "~a~%" ,version)))
+ #t))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("autoconf-archive" ,autoconf-archive)
+ ("automake" ,automake)))
+ (inputs `())
+ (synopsis "HTML for Scientific Publications")
+ (description "HTML is not sufficient for scientific publications. However, LaTeX is not a good markup language. To bring LaTeX equations, bibliography and other scientific elements to HTML, we employ some stylesheets to generate proper LaTeX from HTML plus a few namespaces.")
+ (home-page "https://labo.planete-kraus.eu/h4sp.git")
+ (native-search-paths
+ (list (search-path-specification
+ (variable "XML_CATALOG_FILES")
+ (files '("share/h4sp/catalog"))
+ (separator " ")
+ (file-type 'file))))
+ (license license:gpl3+)))