summary refs log tree commit diff
path: root/gnu/packages/elixir-xyz.scm
diff options
context:
space:
mode:
authorPierre-Henry Fröhring <phfrohring@deeplinks.com>2023-12-10 14:04:08 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-12-17 22:22:31 +0100
commit9002b04e13188d4eac2f7d614f7cda51d8baea76 (patch)
tree3558b65f2abfe00ef129ebd771443296954881aa /gnu/packages/elixir-xyz.scm
parent32de15206d95d37c066ec13ce95a106d41fae11f (diff)
downloadguix-9002b04e13188d4eac2f7d614f7cda51d8baea76.tar.gz
gnu: Add elixir-machete.
* gnu/packages/elixir-xyz.scm (elixir-machete): New variable.

Change-Id: I76e0fd78aeeaeaa94a297032b3b309846510c975
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/elixir-xyz.scm')
-rw-r--r--gnu/packages/elixir-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index 5a7330ca45..5af8d7c1b4 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -267,6 +267,26 @@ things like Dialyzer errors and Observer.")
     (home-page "https://hexdocs.pm/dialyxir/")
     (license license:asl2.0)))
 
+(define-public elixir-machete
+  (package
+    (name "elixir-machete")
+    (version "0.2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri name version))
+       (sha256
+        (base32 "0952603bmqsf6v3ja99zpbnbx5d52i4xksjkfj3irl45ccq5pgq9"))))
+    (build-system mix-build-system)
+    (native-inputs (list elixir-credo elixir-dialyxir))
+    (synopsis "Literate test matchers for ExUnit")
+    (description
+     "Machete provides ergonomic match operators that act as building blocks to let
+you define test expectations that can match data against any combination of
+literals, variables, or parametrically defined matchers.")
+    (home-page "https://hexdocs.pm/machete/")
+    (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