2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-11-03 02:18:15 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "angle-grinder";
|
2021-10-28 06:52:43 +00:00
|
|
|
version = "0.18.0";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rcoh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-28 06:52:43 +00:00
|
|
|
sha256 = "sha256-kohw95pvcBLviPgTDGWIbvZuz1cJmKh4eB0Bx4AEk1E=";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
cargoSha256 = "sha256-m44hFYcyQ1yRf1O5OlomF7rEpkdnnX3FNhB8kUdriKg=";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +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-27 09:35:20 +00:00
|
|
|
mainProgram = "agrind";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
}
|