1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
9 hash = "sha256-EUUPVSpHc9tN1Hi7917hJ2psTZq5nnGw6PBeApvlVtw=";
12 cargoHash = "sha256-1wAHd0WrJfjxDyGRAJjXGFY9ZBFlBOQFr2+cxoTufW0=";
14 buildFeatures = [ "nu-ansi-term" ];
16 # setid is not allowed in the sandbox
17 checkFlags = [ "--skip=tests::style_for_setid" ];
20 description = "Rust library and tool to colorize paths using LS_COLORS";
21 homepage = "https://github.com/sharkdp/lscolors";
22 changelog = "https://github.com/sharkdp/lscolors/releases/tag/v${version}";
23 license = with licenses; [ asl20 /* or */ mit ];
24 maintainers = with maintainers; [ SuperSandro2000 ];
25 mainProgram = "lscolors";