2021-01-25 00:26:54 -08:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2018-12-03 06:15:57 -08:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vivid";
|
2020-09-26 19:54:11 -07:00
|
|
|
version = "0.6.0";
|
2018-12-03 06:15:57 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sharkdp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-09-26 19:54:11 -07:00
|
|
|
sha256 = "0m928hy2q8byfpm55nziiz86gcnhdnw3zpj78d8wx0pp318zjbla";
|
2018-12-03 06:15:57 -08:00
|
|
|
};
|
|
|
|
|
2021-05-07 04:00:49 -07:00
|
|
|
cargoSha256 = "1sn1cq3kaswnz2z9q5h84qipp64ha7jv5kix31lm7v6nam0f5awz";
|
2018-12-03 06:15:57 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-12-03 06:15:57 -08:00
|
|
|
description = "A generator for LS_COLORS with support for multiple color themes";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/sharkdp/vivid";
|
2018-12-03 06:15:57 -08:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.dtzWill ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|