2021-01-25 08:26:54 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2019-09-22 11:54:45 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bingrep";
|
2021-01-21 18:10:56 +00:00
|
|
|
version = "0.8.5";
|
2019-09-22 11:54:45 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "m4b";
|
|
|
|
repo = pname;
|
2019-12-12 21:55:19 +00:00
|
|
|
rev = "v${version}";
|
2021-01-21 18:10:56 +00:00
|
|
|
sha256 = "sha256-ayA3aEidZPa5GJgbbm5K3X2Xgd5Eb6TgUU80Gw/p07w=";
|
2019-09-22 11:54:45 +01:00
|
|
|
};
|
|
|
|
|
2021-01-21 18:10:56 +00:00
|
|
|
cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg=";
|
2019-09-22 11:54:45 +01:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2019-09-22 11:54:45 +01:00
|
|
|
description = "Greps through binaries from various OSs and architectures, and colors them";
|
|
|
|
homepage = "https://github.com/m4b/bingrep";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ minijackson ];
|
|
|
|
};
|
|
|
|
}
|