From 85326cc5614ee822e362271868511bc165c3c5f8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 21 May 2024 18:45:53 +0200 Subject: [PATCH] gnu: Add rust-graphql-parser-0.3. * 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 e9fc959792..fab9b5b8ca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30329,6 +30329,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")