aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-20 10:40:10 +0300
committerMunyoki Kilyungi2023-09-20 10:42:40 +0300
commit7635e5c9277f353834ca2e92507de477c9af2667 (patch)
treea6de084baa554794cf8458f7eb38deb4624f818e
parent658464c22150e62c731ee1bfe1efb7253876f53a (diff)
downloadguix-bioinformatics-7635e5c9277f353834ca2e92507de477c9af2667.tar.gz
gn: javascript: Add htmx.
* gn/packages/javascript.scm (javascript-htmx): Add htmx.
-rw-r--r--gn/packages/javascript.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 7be9db4..a2db29b 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -1881,3 +1881,27 @@ Popper will automatically put the tooltip in the right place near the button.")
(description "Font Awesome is a full suite of pictographic icons for easy scalable
vector graphics.")
(license license:silofl1.1)))
+
+
+(define-public javascript-htmx
+ (package
+ (name "javascript-htmx")
+ (version "1.9.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bigskysoftware/htmx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14m9wan8sp5lzblfzbi1hln621p7ld3npajxrhq1a19zm5bcrz3y"))))
+ (build-system minify-build-system)
+ (arguments
+ `(#:javascript-files '("dist/htmx.min.js")))
+ (home-page "https://htmx.org/")
+ (synopsis "High Power Tools for HTML")
+ (description
+ "htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext")
+ (license license:expat)))