gnu: Add rust-uds-windows-1.

* gnu/packages/crates-io.scm (rust-uds-windows-1): New variable.
(rust-uds-windows-0.1): Inherit from rust-uds-windows-1.
This commit is contained in:
Efraim Flashner 2023-08-02 20:10:56 +03:00
parent 93cb44afae
commit c0042d1c6c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -72857,8 +72857,30 @@ (define-public rust-ucd-util-0.1
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-uds-windows-1
(package
(name "rust-uds-windows")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (crate-uri "uds-windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"03ckj6vnzvm4r5xd17dxyyqqqcfgs3xqj53hcswykk6k4i1n0rff"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-tempfile" ,rust-tempfile-3)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/haraldh/rust_uds_windows")
(synopsis "Unix Domain Sockets for Windows")
(description "This library integrates Unix Domain Sockets on Windows.")
(license license:expat)))
(define-public rust-uds-windows-0.1 (define-public rust-uds-windows-0.1
(package (package
(inherit rust-uds-windows-1)
(name "rust-uds-windows") (name "rust-uds-windows")
(version "0.1.5") (version "0.1.5")
(source (source
@ -72868,17 +72890,12 @@ (define-public rust-uds-windows-0.1
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0mdv9xyrf8z8zr2py5drbilkncgrkg61axq6h7hcvgggklv9f14z")))) (base32 "0mdv9xyrf8z8zr2py5drbilkncgrkg61axq6h7hcvgggklv9f14z"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2) (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-tempdir" ,rust-tempdir-0.3) ("rust-tempdir" ,rust-tempdir-0.3)
("rust-winapi" ,rust-winapi-0.2) ("rust-winapi" ,rust-winapi-0.2)
("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))) ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))))))
(home-page "https://github.com/haraldh/rust_uds_windows")
(synopsis "Unix Domain Sockets for Windows")
(description "This library integrates Unix Domain Sockets on Windows.")
(license license:expat)))
(define-public rust-ufmt-0.1 (define-public rust-ufmt-0.1
(package (package