2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-10-24 00:01:06 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "angle-grinder";
|
2021-10-28 03:50:09 +02:00
|
|
|
version = "0.18.0";
|
2020-10-24 00:01:06 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rcoh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-28 03:50:09 +02:00
|
|
|
sha256 = "sha256-kohw95pvcBLviPgTDGWIbvZuz1cJmKh4eB0Bx4AEk1E=";
|
2020-10-24 00:01:06 +02:00
|
|
|
};
|
|
|
|
|
2021-10-28 03:50:09 +02:00
|
|
|
cargoSha256 = "sha256-m44hFYcyQ1yRf1O5OlomF7rEpkdnnX3FNhB8kUdriKg=";
|
2020-10-24 00:01:06 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-24 00:01:06 +02:00
|
|
|
description = "Slice and dice logs on the command line";
|
|
|
|
homepage = "https://github.com/rcoh/angle-grinder";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bbigras ];
|
|
|
|
};
|
|
|
|
}
|