summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/bi/bingrep/package.nix
blob: 4f659dd857fbc9842e0237273284562abf56e19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "bingrep";
  version = "0.12.1";

  src = fetchFromGitHub {
    owner = "m4b";
    repo = "bingrep";
    rev = "v${finalAttrs.version}";
    hash = "sha256-1GSAYhxFg5nXR8+vWBN10JLV7qUIxT1hYNXdnpE5Uag=";
  };

  cargoHash = "sha256-llyItFYNnvWjPYoTrY8oS4z8tU9IuKYCfvHSURDKNDk=";

  meta = {
    description = "Greps through binaries from various OSs and architectures, and colors them";
    mainProgram = "bingrep";
    homepage = "https://github.com/m4b/bingrep";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ minijackson ];
  };
})