guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/54: gnu: Add ocaml-ppx-disable-unused-warnings.


From: guix-commits
Subject: 32/54: gnu: Add ocaml-ppx-disable-unused-warnings.
Date: Sun, 1 May 2022 07:16:06 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 564a31006591eacbaceb3b7ec07de4a19256c86f
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun May 1 08:04:32 2022 +0200

    gnu: Add ocaml-ppx-disable-unused-warnings.
    
    * gnu/packages/ocaml.scm (ocaml-ppx-disable-unused-warnings): New
      variable.
---
 gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 227bdc7e1b..bb354e78b4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6637,6 +6637,30 @@ PPXs or compiler features not yet upstreamed.")
 nodes for lazily rendering log messages.")
     (license license:expat)))
 
+(define-public ocaml-ppx-disable-unused-warnings
+  (package
+    (name "ocaml-ppx-disable-unused-warnings")
+    (version "0.15.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url 
"https://github.com/janestreet/ppx_disable_unused_warnings";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "0sb5i4v7p9df2bxk66rjs30k9fqdrwsq1jgykjv6wyrx2d9bv955"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:test-target "tests"))
+    (propagated-inputs (list ocaml-base ocaml-ppxlib))
+    (properties `((upstream-name . "ppx_disable_unused_warnings")))
+    (home-page "https://github.com/janestreet/ppx_disable_unused_warnings";)
+    (synopsis "Simple ppx extension for commonly unused warnings")
+    (description "This package expands @code{@@disable_unused_warnings} into
+@code{@@warning \"-20-26-32-33-34-35-36-37-38-39-60-66-67\"}")
+    (license license:expat)))
+
 (define-public ocaml-ppx-jane
   (package
     (name "ocaml-ppx-jane")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]