bingrep: init at 0.7.0 (#69021)

This commit is contained in:
Rémi NICOLE 2019-09-22 10:54:45 +00:00 committed by zimbatm
parent a486f0178d
commit 20de44845d
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bingrep";
version = "0.7.0";
src = fetchFromGitHub {
owner = "m4b";
repo = pname;
# Currently doesn't tag versions so we're using the raw revision
rev = "33d56a4b020c4a3c111294fe41c613d5e8e9c7af";
sha256 = "0lg92wqknr584b44i5v4f97js56j89z7n8p2zpm8j1pfhjmgcigs";
};
cargoSha256 = "1yxm7waldhilx7wh1ag79rkp8kypb9k1px4ynmzq11r72yl2p4m7";
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 ];
};
}

View file

@ -9222,6 +9222,8 @@ in
bin_replace_string = callPackage ../development/tools/misc/bin_replace_string { };
bingrep = callPackage ../development/tools/analysis/bingrep { };
binutils-unwrapped = callPackage ../development/tools/misc/binutils {
# FHS sys dirs presumably only have stuff for the build platform
noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs;