[bug#77382,rust-team,14/18] gnu: Add rust-typenum-1.17.

Message ID 0672162dab090dfef31943a69f3d22584edf8549.1743337577.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * gnu/packages/crates-io.scm (rust-typenum-1.17): New variable.

Change-Id: Ic50d4da45219ffe7878ed4203f06f590fd79ed47
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f83114c314..dd1eaaf575 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90115,6 +90115,29 @@  (define-public rust-typemap-0.3
      "A typesafe store for many value types.")
     (license license:expat)))
 
+(define-public rust-typenum-1.17
+  (package
+    (name "rust-typenum")
+    (version "1.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "typenum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "09dqxv69m9lj9zvv6xw5vxaqx15ps0vxyy5myg33i0kbqvq0pzs2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-scale-info" ,rust-scale-info-1))))
+    (home-page "https://github.com/paholg/typenum")
+    (synopsis
+     "Type-level numbers evaluated at compile time")
+    (description
+     "This package provides library for type-level numbers evaluated at
+compile time.  It supports bits, unsigned integers, and signed integers.
+It also provides a type-level array of type-level numbers.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-typenum-1
   (package
     (name "rust-typenum")