mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #205850 from figsoda/fd
fd: skip flaky test, add figsoda as a maintainer
This commit is contained in:
commit
ae9cbca2a6
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fd";
|
||||
@ -15,10 +15,17 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
preFixup = ''
|
||||
# skip flaky test
|
||||
checkFlags = [
|
||||
"--skip=test_owner_current_group"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/fd.1
|
||||
|
||||
installShellCompletion $releaseDir/build/fd-find-*/out/fd.{bash,fish}
|
||||
installShellCompletion --cmd fd \
|
||||
--bash <($out/bin/fd --gen-completions bash) \
|
||||
--fish <($out/bin/fd --gen-completions fish)
|
||||
installShellCompletion --zsh contrib/completion/_fd
|
||||
'';
|
||||
|
||||
@ -31,7 +38,8 @@ rustPlatform.buildRustPackage rec {
|
||||
it provides sensible (opinionated) defaults for 80% of the use cases.
|
||||
'';
|
||||
homepage = "https://github.com/sharkdp/fd";
|
||||
changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ dywedir globin ma27 zowoq ];
|
||||
maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user