summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ir/iro/package.nix
blob: ee000a5de393cd57dff869ee4ea165b7b6652cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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-7QAhgUI6Pu0iqE6JyfYI4x3O/XTDb8B1Sy3hw9EVMYo=";

  meta = {
    description = "CLI tool to convert 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";
  };
}