gnu: Add rust-ws2-32-sys.

* gnu/packages/cargo-io.scm (rust-ws2-32-sys): New variable.
master
Efraim Flashner 2019-08-29 13:53:48 +03:00
parent 3c9b315aaa
commit c5af2ecfb8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 0 deletions

View File

@ -2456,6 +2456,36 @@ color in a Windows console.")
"A simple library wrapping a handful of useful winapi functions.")
(license license:expat)))
(define-public rust-ws2-32-sys
(package
(name "rust-ws2-32-sys")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "ws2_32-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.2)
("rust-winapi-build" ,rust-winapi-build))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-Cargo-toml
(lambda _
(substitute* "Cargo.toml"
((", path =.* }") "}\n"))
#t)))))
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Function definitions for the Windows API library ws2_32")
(description
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
(define-public rust-xdg
(package
(name "rust-xdg")