2022-08-12 12:06:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tere";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "1.4.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mgunyho";
|
|
|
|
repo = "tere";
|
|
|
|
rev = "v${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-gEoy7pwZxlCIPTQZVPSo5TIdmSliSSePunXO3hD3Ryo=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
cargoSha256 = "sha256-4XvVisRLSHw4jz+nUndWzS1IK2tnzmxdcgqNHHOvkQg=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
postPatch = ''
|
|
|
|
rm .cargo/config.toml;
|
|
|
|
'';
|
2022-08-12 12:06: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 ];
|
|
|
|
};
|
|
|
|
}
|