From 956e4c32d2a0226e2f67bdb2376787e0a34d2006 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Dec 2023 14:56:46 +0200 Subject: [PATCH] gnu: rust-anstyle-wincon: Move to (gnu packages crates-windows). * gnu/packages/crates-io.scm (rust-anstyle-wincon-3, rust-anstyle-wincon-1): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I51d7823806cc4e17bb51ad8d9ba29c96aaf4c151 --- gnu/packages/crates-io.scm | 40 --------------------------------- gnu/packages/crates-windows.scm | 40 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 80793200f6..b0a703410b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2267,46 +2267,6 @@ (define-public rust-anstyle-query-1 (description "Look up colored console capabilities") (license (list license:expat license:asl2.0)))) -(define-public rust-anstyle-wincon-3 - (package - (name "rust-anstyle-wincon") - (version "3.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "anstyle-wincon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) - #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))) - (home-page "https://github.com/rust-cli/anstyle") - (synopsis "Styling legacy Windows terminals") - (description "Styling legacy Windows terminals.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-anstyle-wincon-1 - (package - (inherit rust-anstyle-wincon-3) - (name "rust-anstyle-wincon") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "anstyle-wincon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq")))) - (arguments - `(#:cargo-inputs - (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-lexopt" ,rust-lexopt-0.3)))))) - (define-public rust-antidote-1 (package (name "rust-antidote") diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 279f11af7f..831bed295a 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -32,6 +32,46 @@ (define-module (gnu packages crates-windows) #:use-module (gnu packages) #:use-module (gnu packages crates-io)) +(define-public rust-anstyle-wincon-3 + (package + (name "rust-anstyle-wincon") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-wincon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))) + (home-page "https://github.com/rust-cli/anstyle") + (synopsis "Styling legacy Windows terminals") + (description "Styling legacy Windows terminals.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-anstyle-wincon-1 + (package + (inherit rust-anstyle-wincon-3) + (name "rust-anstyle-wincon") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "anstyle-wincon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq")))) + (arguments + `(#:cargo-inputs + (("rust-anstyle" ,rust-anstyle-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-lexopt" ,rust-lexopt-0.3)))))) + (define-public rust-windows-0.48 (package (name "rust-windows")