Subject: [bug#71110] [PATCH rust-team 17/37] gnu: Add rust-graphql-parser-0.3.

From: Nicolas Goaziou <[email-masked]>
Date: Wed, 22 May 2024 11:45:35 +0200

* gnu/packages/crates-io.scm (rust-graphql-parser-0.3): New variable.

Change-Id: I1640bddaad6e35be1dd818a4fd271c9a02053816
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48ab6f6a9a..f0ce7e5924 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30238,6 +30238,32 @@ (define-public rust-goblin-0.6
         ("rust-plain" ,rust-plain-0.2)
         ("rust-scroll" ,rust-scroll-0.11))))))
 
+(define-public rust-graphql-parser-0.3
+  (package
+    (name "rust-graphql-parser")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "graphql-parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wp6vnrhgi6q3b942zkc6p4mi104gbw71pnc0d5c1ps7ab7d9ayi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-combine" ,rust-combine-3)
+        ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-0.5))))
+    (home-page "https://github.com/graphql-rust/graphql-parser")
+    (synopsis
+     "Parser, AST and serializer for graphql query language")
+    (description
+     "This package provides a parser, AST and serializer for graphql query
+language and scheme definition language (sometimes called IDL).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-greetd-ipc-0.9
   (package
     (name "rust-greetd-ipc")
-- 
2.41.0