mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
25 lines
671 B
Nix
25 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";
|
|
};
|
|
}
|