diff options
author | c74d <8573dd@gmail.com> | 2017-07-30 23:21:36 +0000 |
---|---|---|
committer | c74d <8573dd@gmail.com> | 2017-07-30 23:21:36 +0000 |
commit | 925a4ba4605a7c5e8fd8e17aaabddff42a9750bc (patch) | |
tree | f688997b3e18e32d1b85bdea066bb03a9fa21f3f /pkgs/tools | |
parent | 9ea8535fa7e7f57f6e26c2bcf3893db4254bae68 (diff) | |
download | nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar.gz nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar.bz2 nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar.lz nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar.xz nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.tar.zst nixpkgs-925a4ba4605a7c5e8fd8e17aaabddff42a9750bc.zip |
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").
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/fd/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix new file mode 100644 index 00000000000..763ca668d18 --- /dev/null +++ b/pkgs/tools/misc/fd/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + name = "fd-${version}"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "sharkdp"; + repo = "fd"; + rev = "v${version}"; + sha256 = "1xs4y9zf5m0ykl95787jv98xg0a60gkcyyh7kg7qg4xrcgf4qz4j"; + }; + + depsSha256 = "1hxf3j4584jgpwrwykx6yil6q6ka9l81qvx6zrbprdxk3pslp049"; + + meta = { + description = "A simple, fast and user-friendly alternative to find"; + longDescription = '' + `fd` is a simple, fast and user-friendly alternative to `find`. + + While it does not seek to mirror all of `find`'s powerful functionality, + it provides sensible (opinionated) defaults for 80% of the use cases. + ''; + homepage = "https://github.com/sharkdp/fd"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.all; + }; +} |