nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 27 lines 676 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage { 8 pname = "iro"; 9 version = "0-unstable-2024-10-24"; 10 11 src = fetchFromGitHub { 12 owner = "kyoheiu"; 13 repo = "iro"; 14 rev = "ba4adc00e13da9086389357b0e92e608928a8b39"; 15 hash = "sha256-hGGrEGG1LyzfUCEnV7ahhRO0GrLk28xDWZEFqUHk1rE="; 16 }; 17 18 cargoHash = "sha256-7QAhgUI6Pu0iqE6JyfYI4x3O/XTDb8B1Sy3hw9EVMYo="; 19 20 meta = { 21 description = "CLI tool to convet Hex color code or RGB to color code, RGB, HSL and color name"; 22 homepage = "https://github.com/kyoheiu/iro"; 23 license = lib.licenses.mit; 24 maintainers = with lib.maintainers; [ airrnot ]; 25 mainProgram = "iro"; 26 }; 27}