summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:59 +0300
commit4d6084fc888cb95d1274d0f39d26569a0752b194 (patch)
tree2c7ec26828ed96e6c8024969d4e7e5447570760a
parent8e7b8c91409c6cff17e8758a50e3547f1f89a4ea (diff)
gnu: Add rust-unsafe-libyaml-0.2.
* gnu/packages/crates-io.scm (rust-unsafe-libyaml-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d03dc4235c..9a1d118601 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70967,6 +70967,30 @@ clear display in the output.")
"Traits and implementations for unchecked downcasting.")
(license license:expat)))
+;; This package was originally transpiled from libyaml, but has seen development
+;; since then, showing that it is in its editable form.
+(define-public rust-unsafe-libyaml-0.2
+ (package
+ (name "rust-unsafe-libyaml")
+ (version "0.2.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "unsafe-libyaml" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19l0v20x83dvxbr68rqvs9hvawaqd929hia1nldfahlhamm80r8q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate or module `unsafe_libyaml_test_suite`
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+ (home-page "https://github.com/dtolnay/unsafe-libyaml")
+ (synopsis "Libyaml in rust")
+ (description "This package provides libyaml transpiled to rust by c2rust,
+with changes and updated applied to it.")
+ (license license:expat)))
+
(define-public rust-unsafe-unwrap-0.1
(package
(name "rust-unsafe-unwrap")