From e799612c6fdd27d5e1aae874bc97bfa398635be2 Mon Sep 17 00:00:00 2001 From: TakeV Date: Thu, 22 Dec 2022 13:34:49 -0800 Subject: [PATCH] Initial commit --- .guix-authorizations | 4 ++++ .guix-channel | 11 +++++++++ packages/clojure.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 .guix-authorizations create mode 100644 .guix-channel create mode 100644 packages/clojure.scm diff --git a/.guix-authorizations b/.guix-authorizations new file mode 100644 index 0000000..3114072 --- /dev/null +++ b/.guix-authorizations @@ -0,0 +1,4 @@ +(authorizations + (version 0) + (("908E F026 51C3 62EC 776A DA98 640A 6795 ECDA AC2F" + (name "TakeV")))) \ No newline at end of file diff --git a/.guix-channel b/.guix-channel new file mode 100644 index 0000000..b0de5aa --- /dev/null +++ b/.guix-channel @@ -0,0 +1,11 @@ +(channel + (version 0) + (dependencies (channel (name nonguix) + (url "https://gitlab.com/nonguix/nonguix") + (introduction + (channel-introduction + (version 0) + (commit + "897c1a470da759236cc11798f4e0a5f7d4d59fbc") + (signer + "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))))) \ No newline at end of file diff --git a/packages/clojure.scm b/packages/clojure.scm new file mode 100644 index 0000000..17f0cf9 --- /dev/null +++ b/packages/clojure.scm @@ -0,0 +1,53 @@ +(define-module (lambdapack packages util) + #:use-module (gnu packages curl) + #:use-module (guix gexp) + #:use-module (guix build-system copy) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages compression) + #:use-module (guix packages)) + +(define-public joker + (package + (name "joker") + (version "1.1.0") + (synopsis "Joker is a small Clojure interpreter, linter and formatter written in Go.") + (description "Joker is a small Clojure interpreter, linter and formatter written in Go.") + (home-page "https://github.com/candid82/joker") + (license license:epl1.0) + (build-system copy-build-system) + (inputs (list unzip)) + (arguments + (list #:install-plan #~'(("joker" "bin/")))) + (source (origin + (method url-fetch) + (sha256 + (base32 "140c651ml99skc1xyfavw97lyykgbisbx11478rmi5dl56kmvl52")) + (uri (string-append + "https://github.com/candid82/joker/releases/download/v" + version + "/joker-linux-amd64.zip")))))) +(define-public clojure-lsp + (package + (name "clojure-lsp") + (synopsis "A Language Server for Clojure(script). Taking a Cursive-like approach of statically analyzing code.") + (description "A Language Server for Clojure(script). Taking a Cursive-like approach of statically analyzing code.") + (version "2022.12.09-15.51.10") + (home-page "https://clojure-lsp.io/") + (license (license:fsf-free "https://mit-license.org/")) + (build-system copy-build-system) + (inputs (list unzip)) + (arguments + (list #:install-plan #~'(("clojure-lsp" "bin/")))) + (source (origin + (method url-fetch) + (uri + (string-append + "https://github.com/clojure-lsp/clojure-lsp/releases/download/" + version + "/clojure-lsp-native-linux-amd64.zip")) + (sha256 + (base32 "1q02djwxm57y4sxg3jdqp37zlxkdv5vgy8ja2b5cs3f4kc0b89ib")))))) + +joker +clojure-lsp