* [bug#50024] [PATCH] gnu: Add ocaml-ppx-deriving.
@ 2021-08-12 14:04 Xinglu Chen
2021-10-08 11:15 ` bug#50024: " Julien Lepiller
0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-08-12 14:04 UTC (permalink / raw)
To: 50024
* gnu/packages/ocaml.scm (ocaml-ppx-deriving): New variable.
---
gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 112751ddec..7cc51a9883 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5012,6 +5012,37 @@ a more consistent API.")
"0pqbp2wy5fgmc38irwvmj9nlcvclb1ix1mp4y7l39bgvvlz303h9"))
(properties '()))))
+(define-public ocaml-ppx-deriving
+ (package
+ (name "ocaml-ppx-deriving")
+ (version "5.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml-ppx/ppx_deriving")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "1wqcnw4wi6pfjjhixpakckm03dpj990259za432804471a6spm2j"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-ppx-derivers" ,ocaml-ppx-derivers)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)
+ ("ocaml-result" ,ocaml-result)))
+ (native-inputs
+ `(("ocaml-cppo" ,ocaml-cppo)
+ ("ocaml-ounit2" ,ocaml-ounit2)))
+ (properties `((upstream-name . "ppx_deriving")))
+ (home-page "https://github.com/ocaml-ppx/ppx_deriving")
+ (synopsis "Type-driven code generation for OCaml")
+ (description
+ "This OCaml package provides common infrastructure for generating code based
+on type definitions, and a set of useful plugins for common tasks.")
+ (license license:expat)))
+
(define-public ocaml-ppx-derivers
(package
(name "ocaml-ppx-derivers")
base-commit: 8221cf834946ed65a12b88f2faf7b26a2d57db3a
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#50024: [PATCH] gnu: Add ocaml-ppx-deriving.
2021-08-12 14:04 [bug#50024] [PATCH] gnu: Add ocaml-ppx-deriving Xinglu Chen
@ 2021-10-08 11:15 ` Julien Lepiller
0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2021-10-08 11:15 UTC (permalink / raw)
To: 50024-done
Pushed to master as 989b372a6a0127a9ed285ce8388a4ba0218b097b, thanks!
I added a file name to the sources and changed the description slightly.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-08 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-12 14:04 [bug#50024] [PATCH] gnu: Add ocaml-ppx-deriving Xinglu Chen
2021-10-08 11:15 ` bug#50024: " Julien Lepiller
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).