# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Auto-Generated by cargo-ebuild 0.5.2

EAPI=8

CRATES="
	ansi_term-0.11.0
	anyhow-1.0.34
	atty-0.2.14
	bitflags-1.2.1
	cfg-if-1.0.0
	clap-2.33.3
	color_space-0.5.3
	colored-2.0.0
	console-0.13.0
	encode_unicode-0.3.6
	fastrand-1.4.0
	hermit-abi-0.1.17
	instant-0.1.9
	lazy_static-1.4.0
	libc-0.2.80
	proc-macro2-1.0.24
	quote-1.0.7
	regex-1.4.2
	regex-syntax-0.6.21
	strsim-0.8.0
	strsim-0.10.0
	syn-1.0.48
	term_size-0.3.2
	terminal_size-0.1.15
	textwrap-0.11.0
	thiserror-1.0.22
	thiserror-impl-1.0.22
	unicode-width-0.1.8
	unicode-xid-0.2.1
	vec_map-0.8.2
	winapi-0.3.9
	winapi-i686-pc-windows-gnu-0.4.0
	winapi-util-0.1.5
	winapi-x86_64-pc-windows-gnu-0.4.0
"

inherit cargo

DESCRIPTION="CLI tool to show and convert colors between various color spaces"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/Aloso/colo"
SRC_URI="https://github.com/Aloso/colo/archive/refs/tags/v${PV}.tar.gz
	$(cargo_crate_uris)"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 BSD MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64"