2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2018-12-03 14:15:57 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vivid";
|
2021-06-15 07:48:01 +01:00
|
|
|
version = "0.7.0";
|
2018-12-03 14:15:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sharkdp";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-15 07:48:01 +01:00
|
|
|
sha256 = "sha256-2rdNjpJrBuj6toLFzFJScNh6od5qUhkSaZF+NbPBlQA=";
|
2018-12-03 14:15:57 +00:00
|
|
|
};
|
|
|
|
|
2021-06-15 07:48:01 +01:00
|
|
|
cargoSha256 = "sha256-1aox1eiF3hu5guBjRcM3qb6mHJOutI+yargW7X4cFfg=";
|
2018-12-03 14:15:57 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-12-03 14:15:57 +00:00
|
|
|
description = "A generator for LS_COLORS with support for multiple color themes";
|
2020-04-01 02:11:51 +01: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;
|
|
|
|
};
|
|
|
|
}
|