git.iko.soy/typeable/nixpkgs
on master help sign in
fd: init at 2.0.0

Add the package `fd`, a simpler alternative to `find`, at version 2.0.0. I have tested this change per nixpkgs manual section 13.1 ("Making patches").

commit925a4ba4605a7c5e8fd8e17aaabddff42a9750bc authorc74d <8573dd@gmail.com> dateSun 30 Jul 2017, 23:21 (9 years ago) parent9ea8535
2 files changed+30
pkgs/tools/misc/fd/default.nix+28 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/fd/default.nixnew file+28
@@ -0,0 +1,28 @@
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+}
pkgs/top-level/all-packages.nix+2
@@ -1011,6 +1011,8 @@ with pkgs;
10111011 buildInputs = old.buildInputs ++ [phantomjs2];
10121012 });
10131013
1014+ fd = callPackage ../tools/misc/fd { };
1015+
10141016 filebench = callPackage ../tools/misc/filebench { };
10151017
10161018 fsmon = callPackage ../tools/misc/fsmon { };