Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "bingrep"; 5 version = "0.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "m4b"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-bHu3/f25U1QtRZv1z5OQSDMayOpLU6tbNaV00K55ZY8="; 12 }; 13 14 cargoHash = "sha256-n49VmAJcD98LdkrUCW6ouihSXmSCsdBDvCe9l96G0ec="; 15 16 meta = with 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}