2022-08-12 12:06:08 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tere";
|
2022-09-14 18:05:37 +00:00
|
|
|
version = "1.2.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mgunyho";
|
|
|
|
repo = "tere";
|
|
|
|
rev = "v${version}";
|
2022-09-14 18:05:37 +00:00
|
|
|
sha256 = "sha256-2DpJYOzswT7dHEIj+qaTx1Jm28NE+61opoxuMChNwbM=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2022-09-14 18:05:37 +00:00
|
|
|
cargoSha256 = "sha256-8qSikfsHX8xwBqSSxWwNbiOpXmfzwGTAOALPjxVHadc=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
# This test confirmed not working.
|
|
|
|
# https://github.com/mgunyho/tere/issues/44
|
|
|
|
cargoPatches = [ ./brokentest.patch ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A faster alternative to cd + ls";
|
|
|
|
homepage = "https://github.com/mgunyho/tere";
|
|
|
|
license = licenses.eupl12;
|
|
|
|
maintainers = with maintainers; [ ProducerMatt ];
|
|
|
|
};
|
|
|
|
}
|