2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-10-23 22:01:06 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "angle-grinder";
|
2023-05-26 15:46:49 +00:00
|
|
|
version = "0.19.2";
|
2020-10-23 22:01:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rcoh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-26 15:46:49 +00:00
|
|
|
sha256 = "sha256-/OYIG4s0hH/bkAPxt/x5qHopDIoMN9AJLQ8Sx8USgsM=";
|
2020-10-23 22:01:06 +00:00
|
|
|
};
|
|
|
|
|
2023-05-26 15:46:49 +00:00
|
|
|
cargoHash = "sha256-pOW2jFQxaf2zQWL5+URvHVeCAvSI0u8iALPO5fCoqmI=";
|
2020-10-23 22:01:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-23 22:01:06 +00:00
|
|
|
description = "Slice and dice logs on the command line";
|
|
|
|
homepage = "https://github.com/rcoh/angle-grinder";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bbigras ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "agrind";
|
2020-10-23 22:01:06 +00:00
|
|
|
};
|
|
|
|
}
|