From 7635e5c9277f353834ca2e92507de477c9af2667 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 20 Sep 2023 10:40:10 +0300 Subject: gn: javascript: Add htmx. * gn/packages/javascript.scm (javascript-htmx): Add htmx. --- gn/packages/javascript.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gn') 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))) -- cgit v1.2.3