2021-01-25 08:26:54 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2019-09-22 10:54:45 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bingrep";
|
2023-03-02 10:02:18 +00:00
|
|
|
version = "0.11.0";
|
2019-09-22 10:54:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "m4b";
|
|
|
|
repo = pname;
|
2019-12-12 21:55:19 +00:00
|
|
|
rev = "v${version}";
|
2023-03-02 10:02:18 +00:00
|
|
|
hash = "sha256-bHu3/f25U1QtRZv1z5OQSDMayOpLU6tbNaV00K55ZY8=";
|
2019-09-22 10:54:45 +00:00
|
|
|
};
|
|
|
|
|
2023-03-02 10:02:18 +00:00
|
|
|
cargoHash = "sha256-n49VmAJcD98LdkrUCW6ouihSXmSCsdBDvCe9l96G0ec=";
|
2019-09-22 10:54:45 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2019-09-22 10:54:45 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|