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

26 lines
598 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "angle-grinder";
version = "0.15.0";
src = fetchFromGitHub {
owner = "rcoh";
repo = pname;
rev = "v${version}";
sha256 = "1m5yj9412kjlnqi1nwh44i627ip0kqcbhvwgh87gl5vgd2a0m091";
};
cargoSha256 = "0y4c1gja0i3h2whjpm74yf3z1y85pkwmpmrl2fjsyy0mn493hzv8";
meta = with stdenv.lib; {
description = "Slice and dice logs on the command line";
homepage = "https://github.com/rcoh/angle-grinder";
license = licenses.mit;
maintainers = with maintainers; [ bbigras ];
};
}