summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 14:56:46 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:58 +0200
commit956e4c32d2a0226e2f67bdb2376787e0a34d2006 (patch)
treeeca74c434e787ea0907e218aad01044f08a77ba2 /gnu/packages/crates-windows.scm
parent87630f28811526ad90f9bb6b8f6b9d5cec7a73fe (diff)
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
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm40
1 files changed, 40 insertions, 0 deletions
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 @@
#: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")