···1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+3+rustPlatform.buildRustPackage rec {
4+ name = "fd-${version}";
5+ version = "2.0.0";
6+7+ src = fetchFromGitHub {
8+ owner = "sharkdp";
9+ repo = "fd";
10+ rev = "v${version}";
11+ sha256 = "1xs4y9zf5m0ykl95787jv98xg0a60gkcyyh7kg7qg4xrcgf4qz4j";
12+ };
13+14+ depsSha256 = "1hxf3j4584jgpwrwykx6yil6q6ka9l81qvx6zrbprdxk3pslp049";
15+16+ meta = {
17+ description = "A simple, fast and user-friendly alternative to find";
18+ longDescription = ''
19+ `fd` is a simple, fast and user-friendly alternative to `find`.
20+21+ While it does not seek to mirror all of `find`'s powerful functionality,
22+ it provides sensible (opinionated) defaults for 80% of the use cases.
23+ '';
24+ homepage = "https://github.com/sharkdp/fd";
25+ license = stdenv.lib.licenses.mit;
26+ platforms = stdenv.lib.platforms.all;
27+ };
28+}