2022-07-24 06:07:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tere";
|
2023-08-21 03:03:30 +00:00
|
|
|
version = "1.5.0";
|
2022-07-24 06:07:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mgunyho";
|
|
|
|
repo = "tere";
|
|
|
|
rev = "v${version}";
|
2023-08-21 03:03:30 +00:00
|
|
|
sha256 = "sha256-xqbFBRzBfTwSdkC8e85yANdVA45G6E1FYlTXP8QfVIk=";
|
2022-07-24 06:07:08 +00:00
|
|
|
};
|
|
|
|
|
2023-08-21 03:03:30 +00:00
|
|
|
cargoHash = "sha256-Y2Zgo/VAJxzQd2cXxyiJS5AqcVRClAuUsEogivK3EJw=";
|
2022-10-17 03:50:30 +00:00
|
|
|
|
2022-10-17 03:47:06 +00:00
|
|
|
postPatch = ''
|
|
|
|
rm .cargo/config.toml;
|
|
|
|
'';
|
2022-07-24 06:07:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A faster alternative to cd + ls";
|
|
|
|
homepage = "https://github.com/mgunyho/tere";
|
|
|
|
license = licenses.eupl12;
|
|
|
|
maintainers = with maintainers; [ ProducerMatt ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "tere";
|
2022-07-24 06:07:08 +00:00
|
|
|
};
|
|
|
|
}
|