mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: Add rust-clipboard-win-3.
* gnu/packages/crates-io.scm (rust-clipboard-win-3): New variable. (rust-clipboard-win-2.1): Inherit from above.
This commit is contained in:
parent
b619e9ba57
commit
ecd46aeafc
1 changed files with 25 additions and 7 deletions
|
@ -5866,8 +5866,32 @@ (define-public rust-clicolors-control-1.0
|
||||||
colorization.")
|
colorization.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-clipboard-win-3
|
||||||
|
(package
|
||||||
|
(name "rust-clipboard-win")
|
||||||
|
(version "3.1.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "clipboard-win" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5)
|
||||||
|
("rust-winapi" ,rust-winapi-0.3))))
|
||||||
|
(home-page "https://github.com/DoumanAsh/clipboard-win")
|
||||||
|
(synopsis "Simple way to interact with Windows clipboard")
|
||||||
|
(description
|
||||||
|
"This package provides simple way to interact with Windows clipboard.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-clipboard-win-2.1
|
(define-public rust-clipboard-win-2.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-clipboard-win-3)
|
||||||
(name "rust-clipboard-win")
|
(name "rust-clipboard-win")
|
||||||
(version "2.1.2")
|
(version "2.1.2")
|
||||||
(source
|
(source
|
||||||
|
@ -5879,15 +5903,9 @@ (define-public rust-clipboard-win-2.1
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0431sg4jhabrqf2dliiwhbx9hinb9z4qfcm6914lm5mb17ya5798"))))
|
"0431sg4jhabrqf2dliiwhbx9hinb9z4qfcm6914lm5mb17ya5798"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Tests are for Windows.
|
`(#:tests? #f ; Tests are for Windows.
|
||||||
#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))
|
#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
|
||||||
(home-page "https://github.com/DoumanAsh/clipboard-win")
|
|
||||||
(synopsis "Interact with Windows clipboard")
|
|
||||||
(description
|
|
||||||
"This package provides simple way to interact with Windows clipboard.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-clippy-0.0
|
(define-public rust-clippy-0.0
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue