nixpkgs/pkgs/tools/text/angle-grinder/default.nix

26 lines
586 B
Nix
Raw Normal View History

{ 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
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 ];
};
}