commit
a83e71900b
@ -2,18 +2,23 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "fd-${version}";
|
name = "fd-${version}";
|
||||||
version = "4.0.0";
|
version = "5.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = "fd";
|
repo = "fd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1aw4pgsmvzzqlvbxzv5jnw42nf316qfhvr50b58iqi2dxy8z8cmv";
|
sha256 = "17y2fr3faaf32lv171ppkgi55v5zxq97jiilsgmjcn00rd9i6v0j";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1v9wg4dq4c7i85bkdhd79bj8gx7200z6np05wsyj2ycbv97p095j";
|
cargoSha256 = "17f4plyj6mnz0d9f4ykgbmddsdp6c3f6q4kmgj406p49xsf0jjkc";
|
||||||
|
|
||||||
meta = {
|
preFixup = ''
|
||||||
|
mkdir -p "$out/man/man1"
|
||||||
|
cp "$src/doc/fd.1" "$out/man/man1"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "A simple, fast and user-friendly alternative to find";
|
description = "A simple, fast and user-friendly alternative to find";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
`fd` is a simple, fast and user-friendly alternative to `find`.
|
`fd` is a simple, fast and user-friendly alternative to `find`.
|
||||||
@ -22,7 +27,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
it provides sensible (opinionated) defaults for 80% of the use cases.
|
it provides sensible (opinionated) defaults for 80% of the use cases.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/sharkdp/fd";
|
homepage = "https://github.com/sharkdp/fd";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user