2019-09-22 11:54:45 +01:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bingrep";
|
2019-12-12 21:55:19 +00:00
|
|
|
version = "0.8.1";
|
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}";
|
|
|
|
sha256 = "1xig3lrw0jdaxibzirqnm50l8nj4si9pa9w0jypmyhf1lr6yzd0g";
|
2019-09-22 11:54:45 +01:00
|
|
|
};
|
|
|
|
|
2020-02-14 02:00:26 +00:00
|
|
|
# Delete this on next update; see #79975 for details
|
|
|
|
legacyCargoFetcher = true;
|
|
|
|
|
2019-12-12 21:55:19 +00:00
|
|
|
cargoSha256 = "1fsp1ycfswrzldwnjw5cdwi809fd37pwshvrpf7sp0wmzx2bqhgm";
|
2019-09-22 11:54:45 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|