2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2018-12-03 15:15:57 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vivid";
|
2022-01-30 00:11:21 +01:00
|
|
|
version = "0.8.0";
|
2018-12-03 15:15:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sharkdp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-30 00:11:21 +01:00
|
|
|
sha256 = "sha256-83ff0T2P5aRQ6cM9z7IEuoi7syvJldIuzzdiTrygckA=";
|
2018-12-03 15:15:57 +01:00
|
|
|
};
|
|
|
|
|
2022-01-30 00:11:21 +01:00
|
|
|
cargoSha256 = "sha256-W1tLQTTMOKB/BR9P3y3goPIdOe12Qdkf4wYPlhbQjzY=";
|
2018-12-03 15:15:57 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-12-03 15:15:57 +01:00
|
|
|
description = "A generator for LS_COLORS with support for multiple color themes";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/sharkdp/vivid";
|
2018-12-03 15:15:57 +01:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.dtzWill ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|