From 508f7aa6f1b6aa0588dbfa42fa63e06ab5519c25 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2021 23:43:05 +0100 Subject: gnu: Add rust-clipboard-win-4. * gnu/packages/crates-io.scm (rust-clipboard-win-4): New variable. (rust-clipboard-win-3): Inherit from above. --- gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 05ce5e3e37..90c6ea96a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6856,28 +6856,47 @@ Command Line Argument Parser.") colorization.") (license license:expat))) -(define-public rust-clipboard-win-3 +(define-public rust-clipboard-win-4 (package (name "rust-clipboard-win") - (version "3.1.1") + (version "4.0.3") (source (origin (method url-fetch) (uri (crate-uri "clipboard-win" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz")))) + (base32 "0bd9gw35zjdh50n2gy6qq2gwpnqfafzwkliqkvm9z046fawwc8si")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5) + (("rust-error-code" ,rust-error-code-2) + ("rust-str-buf" ,rust-str-buf-1) ("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))) + (license license:boost1.0))) + +(define-public rust-clipboard-win-3 + (package + (inherit rust-clipboard-win-4) + (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")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-clipboard-win-2 (package -- cgit v1.2.3