guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5c643d20c3e8cb55a881916f99cd8d0272bbff56
Author: Carlo Zancanaro <[email protected]>
AuthorDate: Mon Sep 7 20:05:33 2026 +1000

    gnu: Add lean4-plausible.
    
    * gnu/packages/lean.scm (lean4-plausible): New variable.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/lean.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/lean.scm b/gnu/packages/lean.scm
index f551bb99d12..16103181591 100644
--- a/gnu/packages/lean.scm
+++ b/gnu/packages/lean.scm
@@ -349,6 +349,45 @@ lightweight DSL.")
     (license license:asl2.0)
     (properties '((lean-package-name . "importGraph")))))
 
+(define-public lean4-plausible
+  (package
+    (name "lean4-plausible")
+    (version (package-version lean4))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/leanprover-community/plausible";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "178vkdys7hzaf5w2m7rkpd4rm2hxgvly8rsy4y1hmr4ac43wviyk"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (replace 'build
+            (lambda _
+              (setenv "CC" "gcc")
+              (invoke "lake" "build" "--packages"
+                      #$(package-overrides.json) "Plausible:static")))
+          (delete 'check)
+          (replace 'install
+            (lambda _
+              (copy-recursively "."
+                                #$output))))))
+    (native-inputs (list lean4))
+    (propagated-inputs (list lean4-batteries))
+    (home-page "https://github.com/leanprover-community/plausible";)
+    (synopsis "Property testing framework for Lean 4 that integrates into
+the tactic framework")
+    (description "Plausible is a property testing framework for Lean 4 that
+integrates into the tactic framework.")
+    (license license:asl2.0)
+    (properties '((lean-package-name . "plausible")))))
+
 (define-public lean4-quote4
   (package
     (name "lean4-quote4")

Reply via email to