1{ stdenv, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "bingrep";
5 version = "0.8.2";
6
7 src = fetchFromGitHub {
8 owner = "m4b";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "1qv41g7mblnq07145m03s2fhbrjfsc0924zb9z4cp159ygkggxcy";
12 };
13
14 cargoSha256 = "1z53408mcmy698xb2sxj1s1p9xc9srlkj0v8wswhdp7nq27vwkdj";
15
16 meta = with stdenv.lib; {
17 description = "Greps through binaries from various OSs and architectures, and colors them";
18 homepage = "https://github.com/m4b/bingrep";
19 license = licenses.mit;
20 maintainers = with maintainers; [ minijackson ];
21 };
22}