nixpkgs/pkgs/development/tools/analysis/bingrep/default.nix

23 lines
620 B
Nix
Raw Normal View History

2019-09-22 12:54:45 +02:00
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bingrep";
2020-02-15 07:13:12 +01:00
version = "0.8.2";
2019-09-22 12:54:45 +02:00
src = fetchFromGitHub {
owner = "m4b";
repo = pname;
2019-12-12 22:55:19 +01:00
rev = "v${version}";
2020-02-15 07:13:12 +01:00
sha256 = "1qv41g7mblnq07145m03s2fhbrjfsc0924zb9z4cp159ygkggxcy";
2019-09-22 12:54:45 +02:00
};
2020-02-15 07:13:12 +01:00
cargoSha256 = "1z53408mcmy698xb2sxj1s1p9xc9srlkj0v8wswhdp7nq27vwkdj";
2019-09-22 12:54:45 +02: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 ];
};
}