nixpkgs/pkgs/development/tools/analysis/bingrep/default.nix
2021-01-23 20:30:03 +07:00

23 lines
616 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bingrep";
version = "0.8.5";
src = fetchFromGitHub {
owner = "m4b";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ayA3aEidZPa5GJgbbm5K3X2Xgd5Eb6TgUU80Gw/p07w=";
};
cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg=";
meta = with 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 ];
};
}