Skip to content

Commit

Permalink
Merge pull request #104786 from 06kellyjac/rustscan
Browse files Browse the repository at this point in the history
rustscan: 1.10.1 -> 2.0.1
  • Loading branch information
SuperSandro2000 committed Nov 24, 2020
2 parents 43082f7 + 6993bd0 commit f95afaf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/tools/security/rustscan/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "rustscan";
version = "1.10.1";
version = "2.0.1";

src = fetchFromGitHub {
owner = "RustScan";
repo = pname;
rev = version;
sha256 = "0dhy7b73ipsxsr7wlc3r5yy39i3cjrdszhsw9xwjj31692s3b605";
sha256 = "0fdbsz1v7bb5dm3zqjs1qf73lb1m4qzkqyb3h3hbyrp9vklgxsgw";
};

cargoSha256 = "00s1iv8yw06647ijw9p3l5n7d899gsks5j8ljag6ha7hgl5vs4ci";
cargoSha256 = "039xarscwqndpyrr3sgzkhqna3c908zh06id8x2qaykm8l248zs9";

postPatch = ''
substituteInPlace src/main.rs \
Expand All @@ -25,6 +25,8 @@ rustPlatform.buildRustPackage rec {
"--skip=google_dns_runs"
"--skip=parse_correct_host_addresses"
"--skip=parse_hosts_file_and_incorrect_hosts"
"--skip=run_perl_script"
"--skip=run_python_script"
];

meta = with stdenv.lib; {
Expand Down

0 comments on commit f95afaf

Please sign in to comment.