From fc5de28e860e3f54eee6c2e32bafa98822798d5b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Dec 2023 15:00:32 +0200 Subject: gnu: rust-clipboard-win: Move to (gnu packages crates-windows). * gnu/packages/crates-io.scm (rust-clipboard-win-4, rust-clipboard-win-3): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I72c54d9458a335dc053ca204b2382394b5e2c5c1 --- gnu/packages/crates-io.scm | 42 --------------------------------------- gnu/packages/crates-windows.scm | 44 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 43 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 51d2e33591..79ecaecc0e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12162,48 +12162,6 @@ stream of tokens.") colorization.") (license license:expat))) -(define-public rust-clipboard-win-4 - (package - (name "rust-clipboard-win") - (version "4.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "clipboard-win" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a1cpp4yyizz41bkij5x85p220xxrlja6l6wwj9wkvwj364a2kjf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("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: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-clippy-0.0 (package (name "rust-clippy") diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index aaa779b3ae..0bbdc1ab93 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022 ( ;;; Copyright © 2022, 2023 Ricardo Wurmus -;;; Copyright © 2023 Efraim Flashner +;;; Copyright © 2022, 2023 Efraim Flashner ;;; Copyright © 2023 Jaeme Sifat ;;; Copyright © 2023 Daniel Ziltener ;;; @@ -96,6 +96,48 @@ Windows Credential Manager.") (license (list license:expat license:asl2.0)))) +(define-public rust-clipboard-win-4 + (package + (name "rust-clipboard-win") + (version "4.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clipboard-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a1cpp4yyizz41bkij5x85p220xxrlja6l6wwj9wkvwj364a2kjf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("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: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-conpty-0.5 (package (name "rust-conpty") -- cgit 1.4.1