2021-10-03 14:34:17 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2021-02-23 10:22:01 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lscolors";
|
2023-07-24 15:41:56 +00:00
|
|
|
version = "0.15.0";
|
2021-02-23 10:22:01 +00:00
|
|
|
|
2021-10-03 14:34:17 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2023-07-24 15:41:56 +00:00
|
|
|
sha256 = "sha256-C7aM9jlChRwPvYnBjLbV+sfbTHDVVi6evIR5PvT9jN4=";
|
2021-02-23 10:22:01 +00:00
|
|
|
};
|
|
|
|
|
2023-07-24 15:41:56 +00:00
|
|
|
cargoHash = "sha256-93FAEhl0WFXRq1SaoLRNDd/fy7NyDbeRFgIqUWAssQE=";
|
2021-11-14 16:20:02 +00:00
|
|
|
|
|
|
|
# setid is not allowed in the sandbox
|
|
|
|
checkFlags = [ "--skip=tests::style_for_setid" ];
|
2021-02-23 10:22:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Rust library and tool to colorize paths using LS_COLORS";
|
|
|
|
homepage = "https://github.com/sharkdp/lscolors";
|
2021-11-14 16:20:02 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
2021-02-23 10:22:01 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|