13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-LlMcBMb40yN+rlvGVsh7JaC3j9sF60YxitQQXe1q/oI=";
24 cargoHash = "sha256-yyXFtMyiMq6TaN9/7+BaBERHgubeA8SJGOr08Mn3RnY=";
31 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
34 pandoc --standalone --to man doc/lsd.md -o lsd.1
37 installShellCompletion --cmd lsd \
38 --bash $releaseDir/build/lsd-*/out/lsd.bash \
39 --fish $releaseDir/build/lsd-*/out/lsd.fish \
40 --zsh $releaseDir/build/lsd-*/out/_lsd
43 # Found argument '--test-threads' which wasn't expected, or isn't valid in this context
46 passthru.tests.version = testers.testVersion { package = lsd; };
49 homepage = "https://github.com/lsd-rs/lsd";
50 description = "Next gen ls command";
51 license = lib.licenses.asl20;
52 maintainers = with lib.maintainers; [