diff options
author | Pierre-Henry Fröhring <phfrohring@deeplinks.com> | 2023-12-10 14:04:05 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-12-17 22:22:31 +0100 |
commit | d3410fb2847d3b0a006e5f9ee569608dc8bafb2a (patch) | |
tree | c03f53704fca53fe225988d12ca807f112ffbcd3 | |
parent | 2060e3f5c8130bb9214a6951ac32475811963061 (diff) | |
download | guix-d3410fb2847d3b0a006e5f9ee569608dc8bafb2a.tar.gz guix-d3410fb2847d3b0a006e5f9ee569608dc8bafb2a.zip |
gnu: Add elixir-credo.
* gnu/packages/elixir-xyz.scm (elixir-credo): New variable.
Change-Id: I6df0d926e0fb96caa65d081892026b3495431c83
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r-- | gnu/packages/elixir-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index 14e67060e8..8485355e48 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -204,6 +204,30 @@ JSON API.") (home-page "https://hexdocs.pm/excoveralls/") (license license:expat))) +(define-public elixir-credo + (package + (name "elixir-credo") + (version "1.7.1") + (source + (origin + (method url-fetch) + (uri (hexpm-uri name version)) + (sha256 + (base32 "18jqi9s9r1587njzdxycvmmbma30cay9iamni4f3ih54jmh1r1z9")))) + (build-system mix-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list elixir-bunt elixir-file-system elixir-jason)) + (native-inputs (list elixir-excoveralls elixir-inch-ex)) + (synopsis "Static code analysis tool") + (description + "Credo is a static code analysis tool for the Elixir language with a focus on +teaching and code consistency. Credo can show you refactoring opportunities in +your code, complex code fragments, warn you about common mistakes, show +inconsistencies in your naming scheme and - if needed - help you enforce a +desired coding style.") + (home-page "https://hexdocs.pm/credo/") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar |