branch: elpa/flymake-guile
commit d1ae59f7d663d279e0f7461034e00daea5f89003
Author: Distopico <[email protected]>
Commit: Distopico <[email protected]>

    add guix definition
---
 README.md |  7 ++++++-
 guix.scm  | 27 +++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 5b0541216b..5dfb931901 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,12 @@ Flymake Backend for [GNU Guile][guile] using `guild` 
compiler.
 # Installation
 
 Verify that `guild` is in your `PATH`, then add `flymake-guile.el`
-to your load-path.
+to your Emacs load-path.
 
+Alternatively, you can install it using [Guix][guix]. Clone the repository and 
then:
+```bash
+guix package -f flymake-guile/guix.scm
+```
 
 ## Usage
 Verify that `flymake-mode` is enabled ad then add the following to
@@ -39,3 +43,4 @@ See [COPYING](COPYING) for more detail.
 
 [guile]: https://www.gnu.org/software/guile/
 [geiser]: https://www.nongnu.org/geiser/
+[guix]: https://guix.gnu.org/
diff --git a/guix.scm b/guix.scm
new file mode 100644
index 0000000000..8c344e262c
--- /dev/null
+++ b/guix.scm
@@ -0,0 +1,27 @@
+(use-modules (guix packages)
+            (guix build-system emacs)
+            (guix git-download)
+            ((guix licenses) #:prefix license:)
+            (gnu packages emacs-xyz))
+
+(package
+  (name "emacs-flymake-guile")
+  (version "0.1")
+  (source
+   (origin
+     (method git-fetch)
+     (uri
+      (git-reference
+       (url "https://framagit.org/flymake-backends/flymake-guile";)
+       (commit version)))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "0p96kbsh50ypjfzgxik6zj7lacas8az2s9fcmcraxd0b35y9bwbc"))))
+  (build-system emacs-build-system)
+  (propagated-inputs (list emacs-flymake-quickdef))
+  (home-page "https://framagit.org/flymake-backends/flymake-guile";)
+  (synopsis "GNU Guile support for Flymake")
+  (description
+   "This package provides a Flymake backend for GNU Guile using @code{guild
+compile}.")
+  (license license:gpl3+))

Reply via email to