Merge pull request #141147 from figsoda/suckit

suckit: init at 0.1.2
This commit is contained in:
Fabian Affolter 2021-10-10 11:02:19 +02:00 committed by GitHub
commit 4d86383a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "suckit";
version = "0.1.2";
src = fetchFromGitHub {
owner = "skallwar";
repo = pname;
rev = "v${version}";
sha256 = "0wr03yvrqa9p6m127fl4hcf9057i11zld898qz4kbdyiynpi0166";
};
cargoSha256 = "sha256-6otIWAAf9pI4A8kxK3dyOVpkw+SJ3/YAvTahDSXMWNc=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
# requires internet access
checkFlags = [ "--skip=test_download_url" ];
meta = with lib; {
description = "Recursively visit and download a website's content to your disk";
homepage = "https://github.com/skallwar/suckit";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -9533,6 +9533,10 @@ with pkgs;
subfinder = callPackage ../tools/networking/subfinder { };
suckit = callPackage ../tools/networking/suckit {
inherit (darwin.apple_sdk.frameworks) Security;
};
surfraw = callPackage ../tools/networking/surfraw { };
swagger-codegen = callPackage ../tools/networking/swagger-codegen { };