me
/
guix
Archived
1
0
Fork 0

gnu: rust-winreg: Move to (gnu packages crates-windows).

* gnu/packages/crates-io.scm (rust-winreg-0.50, rust-winreg-0.10,
rust-winreg-0.8, rust-winreg-0.7, rust-winreg-0.6, rust-winreg-0.5):
Move from here ...
* gnu/packages/crates-windows.scm: ... to here.

Change-Id: I6f5fe23957b0d3b2fd36f7304f64b182f2fd925e
master
Efraim Flashner 2023-12-27 15:31:32 +02:00
parent 2cce2f8f4f
commit 44d33deb17
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
2 changed files with 143 additions and 143 deletions

View File

@ -82470,149 +82470,6 @@ combinators library.")
("rust-memchr" ,rust-memchr-2) ("rust-memchr" ,rust-memchr-2)
("rust-terminal-size" ,rust-terminal-size-0.2)))))) ("rust-terminal-size" ,rust-terminal-size-0.2))))))
(define-public rust-winreg-0.50
(package
(name "rust-winreg")
(version "0.50.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1cddmp929k882mdh6i9f2as848f13qqna6czwsqzkh1pqnr5fkjj"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
(("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; OS not supported
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/gentoo90/winreg-rs")
(synopsis "Rust bindings to the MS Windows Registry API")
(description
"This package provides Rust bindings to MS Windows Registry API.")
(license license:expat)))
(define-public rust-winreg-0.10
(package
(inherit rust-winreg-0.50)
(name "rust-winreg")
(version "0.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winreg-0.8
(package
(inherit rust-winreg-0.10)
(name "rust-winreg")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winreg-0.7
(package
(inherit rust-winreg-0.8)
(name "rust-winreg")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3)
("rust-serde-derive" ,rust-serde-derive-1))))))
(define-public rust-winreg-0.6
(package
(name "rust-winreg")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3)
("rust-serde-derive" ,rust-serde-derive-1))))
(home-page "https://github.com/gentoo90/winreg-rs")
(synopsis "Rust bindings to MS Windows Registry API")
(description
"This package provides Rust bindings to MS Windows Registry API.")
(license license:expat)))
(define-public rust-winreg-0.5
(package
(inherit rust-winreg-0.7)
(name "rust-winreg")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jkh4jj2g8g0bl7r1xvq9vv9hr4gdzphg9ndqm65q6f1jn9paym2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-clippy" ,rust-clippy-0.0)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winres-0.1 (define-public rust-winres-0.1
(package (package
(name "rust-winres") (name "rust-winres")

View File

@ -888,6 +888,149 @@ color in a Windows console.")
#:cargo-inputs #:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3)))))) (("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winreg-0.50
(package
(name "rust-winreg")
(version "0.50.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1cddmp929k882mdh6i9f2as848f13qqna6czwsqzkh1pqnr5fkjj"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
(("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; OS not supported
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-windows-sys" ,rust-windows-sys-0.48))
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-derive" ,rust-serde-derive-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/gentoo90/winreg-rs")
(synopsis "Rust bindings to the MS Windows Registry API")
(description
"This package provides Rust bindings to MS Windows Registry API.")
(license license:expat)))
(define-public rust-winreg-0.10
(package
(inherit rust-winreg-0.50)
(name "rust-winreg")
(version "0.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winreg-0.8
(package
(inherit rust-winreg-0.10)
(name "rust-winreg")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-winreg-0.7
(package
(inherit rust-winreg-0.8)
(name "rust-winreg")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3)
("rust-serde-derive" ,rust-serde-derive-1))))))
(define-public rust-winreg-0.6
(package
(name "rust-winreg")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3)
("rust-serde-derive" ,rust-serde-derive-1))))
(home-page "https://github.com/gentoo90/winreg-rs")
(synopsis "Rust bindings to MS Windows Registry API")
(description
"This package provides Rust bindings to MS Windows Registry API.")
(license license:expat)))
(define-public rust-winreg-0.5
(package
(inherit rust-winreg-0.7)
(name "rust-winreg")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "winreg" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jkh4jj2g8g0bl7r1xvq9vv9hr4gdzphg9ndqm65q6f1jn9paym2"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-clippy" ,rust-clippy-0.0)
("rust-serde" ,rust-serde-1)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-windows-0.48 (define-public rust-windows-0.48
(package (package
(name "rust-windows") (name "rust-windows")