Merge pull request #217991 from qowoz/fd

fd: 8.6.0 -> 8.7.0
This commit is contained in:
Maximilian Bosch 2023-02-24 11:20:29 +01:00 committed by GitHub
commit 385ae6177f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,17 @@
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, testers, fd }:
rustPlatform.buildRustPackage rec {
pname = "fd";
version = "8.6.0";
version = "8.7.0";
src = fetchFromGitHub {
owner = "sharkdp";
repo = "fd";
rev = "v${version}";
sha256 = "sha256-RVGCSUYyWo2wKRIrnci+aWEAPW9jHhMfYkYJkCgd7f8=";
hash = "sha256-y7IrwMLQnvz1PeKt8BE9hbEBwQBiUXM4geYbiTjMymw=";
};
cargoSha256 = "sha256-PT95U1l+BVX7sby3GKktZMmbNNQoPYR8nL+H90EnqZY=";
cargoHash = "sha256-AstE8KGICgPhqRKlJecrE9iPUUWaOvca6ocWf85IzNo=";
auditable = true; # TODO: remove when this is the default
@ -31,6 +31,10 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --zsh contrib/completion/_fd
'';
passthru.tests.version = testers.testVersion {
package = fd;
};
meta = with lib; {
description = "A simple, fast and user-friendly alternative to find";
longDescription = ''