gnu: Add guile-kolam.

* gnu/packages/guile-xyz.scm (guile-kolam): New variable.
This commit is contained in:
Arun Isaac 2022-01-05 22:08:47 +05:30 committed by Ricardo Wurmus
parent c37559e819
commit f8633a7395
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -17,7 +17,7 @@
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018, 2019, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2019, 2020, 2021, 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2019 swedebugia <swedebugia@riseup.net>
@ -4843,3 +4843,30 @@ (define-public guile-schemetran
of numbers. Scheme is great at expressing your coding thoughts. This project
is an attempt to combine both into something useful.")
(license license:asl2.0))))
(define-public guile-kolam
(package
(name "guile-kolam")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://kolam.systemreboot.net/releases/kolam-"
version ".tar.lz"))
(sha256
(base32
"083r3n3wvzysa9jhlwjj1xppdm6ja56rkizr6hvj4q1806v8n6mn"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
(native-inputs
(list guile-3.0 lzip))
(propagated-inputs
(list guile-json-4))
(home-page "https://kolam.systemreboot.net")
(synopsis "GraphQL implementation for Scheme")
(description "@code{guile-kolam} is a GraphQL implementation for Scheme. kolam
features a parser to parse and serialize GraphQL documents, a type system to
create GraphQL schemas, an execution engine to execute GraphQL queries, and a
HTTP handler to implement a HTTP GraphQL endpoint.")
(license license:agpl3+)))