2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2018-12-03 14:15:57 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vivid";
|
2024-06-23 03:01:48 +00:00
|
|
|
version = "0.10.1";
|
2018-12-03 14:15:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sharkdp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-23 03:01:48 +00:00
|
|
|
hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs=";
|
2018-12-03 14:15:57 +00:00
|
|
|
};
|
|
|
|
|
2024-06-23 03:01:48 +00:00
|
|
|
cargoHash = "sha256-B1PYLUtBcx35NkU/NR+CmM8bF0hfJWmu11vsovFwR+c=";
|
2018-12-03 14:15:57 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Generator for LS_COLORS with support for multiple color themes";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sharkdp/vivid";
|
2018-12-03 14:15:57 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.dtzWill ];
|
|
|
|
platforms = platforms.unix;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "vivid";
|
2018-12-03 14:15:57 +00:00
|
|
|
};
|
|
|
|
}
|