ngz pushed a commit to branch master
in repository guix.

commit 71bdb6307b251e79d4daf8edea2a522330a38132
Author: Aleksandr Vityazev <[email protected]>
AuthorDate: Mon Jan 17 13:29:12 2022 +0000

    gnu: rust-funty-1: Inherit from rust-funty-1.2.
    
    * gnu/packages/crates-io.scm (rust-funty-1): Inherit from rust-funty-1.2.
    [source]: Fix formatting.
    
    Signed-off-by: Nicolas Goaziou <[email protected]>
---
 gnu/packages/crates-io.scm | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7fe2a59644..067ae1b9f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21313,28 +21313,21 @@ stabilized, and eventually removed.  This library 
reïnstates these traits.")
 
 (define-public rust-funty-1
   (package
+    (inherit rust-funty-1.2)
     (name "rust-funty")
     (version "1.1.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "funty" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy"))))
-    (build-system cargo-build-system)
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "funty" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy"))))
     (arguments
      `(#:cargo-development-inputs
-       (("rust-static-assertions" ,rust-static-assertions-1))))
-    (home-page "https://github.com/myrrlyn/funty";)
-    (synopsis "Trait generalization over the primitive types")
-    (description
-     "Prior to 1.0, Rust had traits for the numeric primitive types to permit
-code to generalize over which specific type it accepted. This was never
-stabilized, and eventually removed.  This library reïnstates these traits.")
-    (license license:expat)))
+       (("rust-static-assertions" ,rust-static-assertions-1))))))
 
 (define-public rust-futf-0.1
   (package

Reply via email to