nixpkgs/pkgs/applications/misc/lscolors/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
671 B
Nix
Raw Normal View History

2021-10-03 14:34:17 +00:00
{ lib, rustPlatform, fetchCrate }:
2021-02-23 10:22:01 +00:00
rustPlatform.buildRustPackage rec {
pname = "lscolors";
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;
sha256 = "sha256-C7aM9jlChRwPvYnBjLbV+sfbTHDVVi6evIR5PvT9jN4=";
2021-02-23 10:22:01 +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 ];
};
}