guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ba1e0dc41a150b3f911ec8408bf5786128bdef0d
Author: Daniel Khodabakhsh <[email protected]>
AuthorDate: Tue Jun 24 08:21:39 2025 -0700

    gnu: Add node-typical.
    
    * gnu/packages/node-xyz.scm (node-typical): New variable.
    
    Change-Id: I0053fc63f641b1ba6e294931496b41ab6e33dc86
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/node-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 2db59b7863..b5baaf2d61 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2021 Dhruvin Gandhi <[email protected]>
 ;;; Copyright © 2022 Nicolas Graves <[email protected]>
 ;;; Copyright © 2023 Jelle Licht <[email protected]>
-;;; Copyright © 2024 Daniel Khodabakhsh <[email protected]>
+;;; Copyright © 2024, 2025 Daniel Khodabakhsh <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1650,6 +1650,30 @@ tablets.
 @end enumerate")
     (license license:bsd-3)))
 
+(define-public node-typical
+  (package
+    (name "node-typical")
+    (version "5.2.0")
+    (source (origin
+      (method git-fetch)
+      (uri (git-reference
+        (url "https://github.com/75lb/typical";)
+        (commit (string-append "v" version))))
+      (file-name (git-file-name name version))
+      (sha256
+        (base32 "072fqdw7qrgh1cnri19z3rf702hh8p6agh3npkzwrywjmlnndfdm"))))
+    (build-system node-build-system)
+    (arguments (list
+      #:tests? #f ; FIXME: Tests require 'test-runner'.
+      #:phases #~(modify-phases %standard-phases
+        (add-before 'patch-dependencies 'modify-package (lambda _
+          (modify-json
+            (delete-dev-dependencies)))))))
+    (synopsis "Type-checking library for Javascript")
+    (description "Isomorphic, functional type-checking for Javascript.")
+    (home-page (git-reference-url (origin-uri source)))
+    (license license:expat)))
+
 (define-public node-util-deprecate
   (package
     (name "node-util-deprecate")

Reply via email to