From 6995a813cdc3839eef1e12c9ea5d98e063980585 Mon Sep 17 00:00:00 2001 From: airRnot1106 Date: Sun, 10 Nov 2024 17:46:05 +0900 Subject: [PATCH] iro: init at 0-unstable-2024-10-24 --- pkgs/by-name/ir/iro/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ir/iro/package.nix diff --git a/pkgs/by-name/ir/iro/package.nix b/pkgs/by-name/ir/iro/package.nix new file mode 100644 index 0000000000000..6b55a4a564108 --- /dev/null +++ b/pkgs/by-name/ir/iro/package.nix @@ -0,0 +1,27 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage { + pname = "iro"; + version = "0-unstable-2024-10-24"; + + src = fetchFromGitHub { + owner = "kyoheiu"; + repo = "iro"; + rev = "ba4adc00e13da9086389357b0e92e608928a8b39"; + hash = "sha256-hGGrEGG1LyzfUCEnV7ahhRO0GrLk28xDWZEFqUHk1rE="; + }; + + cargoHash = "sha256-ZP0YO+5juxFGc2rtvNBvknlTJBrtr8HiuN6/kKW1WNU="; + + meta = { + description = "CLI tool to convet Hex color code or RGB to color code, RGB, HSL and color name"; + homepage = "https://github.com/kyoheiu/iro"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ airrnot ]; + mainProgram = "iro"; + }; +}