summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-17 22:37:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:52:55 +0100
commit435077d86fb5d8022878d2fdebf43b5de9c66333 (patch)
tree1a68b6e044d1f4a948282b57ecf7fa03f818a325 /gnu/packages
parent01819ab3a94193b41b7a145efa8a2094b2b8c445 (diff)
downloadguix-435077d86fb5d8022878d2fdebf43b5de9c66333.tar.gz
gnu: Add rust-ptree-0.4.
* gnu/packages/crates-io.scm (rust-ptree-0.4): New variable.
(rust-ptree-0.3): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm38
1 files changed, 31 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e17e7f88a..a866c8a31e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64426,28 +64426,28 @@ pointers:
 ")
     (license license:expat)))
 
-(define-public rust-ptree-0.3
+(define-public rust-ptree-0.4
   (package
     (name "rust-ptree")
-    (version "0.3.1")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ptree" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm"))))
+        (base32 "0w72k0svlj8ihbf7m7ivay7rpv38xz9ad5a06isyqsiiddwq1pm0"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12)
         ("rust-atty" ,rust-atty-0.2)
-        ("rust-config" ,rust-config-0.10)
-        ("rust-directories" ,rust-directories-2)
-        ("rust-petgraph" ,rust-petgraph-0.5)
+        ("rust-config" ,rust-config-0.11)
+        ("rust-directories" ,rust-directories-4)
+        ("rust-petgraph" ,rust-petgraph-0.6)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-value" ,rust-serde-value-0.6)
+        ("rust-serde-value" ,rust-serde-value-0.7)
         ("rust-tint" ,rust-tint-1))))
     (home-page "https://gitlab.com/Noughmad/ptree")
     (synopsis "Pretty-print tree-like structures")
@@ -64456,6 +64456,30 @@ pointers:
 configuration file and/or environment variables.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ptree-0.3
+  (package
+    (inherit rust-ptree-0.4)
+    (name "rust-ptree")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ptree" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bp6r88hcw0ygmdfdf1gwsj6krcah2qhwp3kw284wvni080l1zcm"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-atty" ,rust-atty-0.2)
+        ("rust-config" ,rust-config-0.10)
+        ("rust-directories" ,rust-directories-2)
+        ("rust-petgraph" ,rust-petgraph-0.5)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-value" ,rust-serde-value-0.6)
+        ("rust-tint" ,rust-tint-1))))))
+
 (define-public rust-xmltree-0.10
   (package
     (name "rust-xmltree")