depot/third_party/nixpkgs/pkgs/tools/misc/tere/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

26 lines
623 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "tere";
version = "1.3.0";
src = fetchFromGitHub {
owner = "mgunyho";
repo = "tere";
rev = "v${version}";
sha256 = "sha256-jousyoro1Mn1+yBzUkGxW7/zbNvF7+Y4/WLRj99Iuy0=";
};
cargoSha256 = "sha256-hMAxKijmlckkCtQZiC5ubaZQKU2m99gL/MkYoU7zQxU=";
postPatch = ''
rm .cargo/config.toml;
'';
meta = with lib; {
description = "A faster alternative to cd + ls";
homepage = "https://github.com/mgunyho/tere";
license = licenses.eupl12;
maintainers = with maintainers; [ ProducerMatt ];
};
}