nixpkgs/pkgs/tools/misc/vivid/default.nix
2024-06-25 11:43:23 +10:00

24 lines
671 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "vivid";
version = "0.10.1";
src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
rev = "v${version}";
hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs=";
};
cargoHash = "sha256-B1PYLUtBcx35NkU/NR+CmM8bF0hfJWmu11vsovFwR+c=";
meta = with lib; {
description = "Generator for LS_COLORS with support for multiple color themes";
homepage = "https://github.com/sharkdp/vivid";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.dtzWill ];
platforms = platforms.unix;
mainProgram = "vivid";
};
}