gnu: Add rust-oid-0.2.

* gnu/packages/crates-tls.scm (rust-oid-0.2): New variable.

Change-Id: I5be9ea13f3ab74b758b67ffcea6375e02786f35f
This commit is contained in:
Efraim Flashner 2024-09-22 21:23:49 +03:00
parent 6471e6ef8e
commit edc0dc5f7b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -753,6 +753,31 @@ targets")
implementation.")
(license (list license:expat license:asl2.0))))
(define-public rust-oid-0.2
(package
(name "rust-oid")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "oid" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hh61lx2kr0ca2rvkhf5j94asxxvb6pfwfxm06hdn4w8b4y906cw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1))
#:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
("rust-serde-xml-rs" ,rust-serde-xml-rs-0.4)
("rust-serde-derive" ,rust-serde-derive-1))))
(home-page "https://labs.unnecessary.engineering/oid")
(synopsis
"Library for building, parsing, and formating Object Identifiers (OIDs)")
(description
"This package provides a Rust-native library for building, parsing, and
formating Object Identifiers (OIDs).")
(license (list license:expat license:asl2.0))))
(define-public rust-oid-registry-0.6
(package
(name "rust-oid-registry")