nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 855 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "suckit"; 11 version = "0.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "skallwar"; 15 repo = "suckit"; 16 rev = "v${version}"; 17 sha256 = "sha256-M4/vD1sVny7hAf4h56Z2xy7yuCqH/H3qHYod6haZOs0="; 18 }; 19 20 cargoHash = "sha256-20Fz98mAkmhk7g0359S7Gjg6i89cXtKuS/9bVzOagBs="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 buildInputs = [ openssl ]; 25 26 # requires internet access 27 checkFlags = [ 28 "--skip=test_download_url" 29 "--skip=test_external_download" 30 ]; 31 32 meta = { 33 description = "Recursively visit and download a website's content to your disk"; 34 homepage = "https://github.com/skallwar/suckit"; 35 license = with lib.licenses; [ 36 asl20 # or 37 mit 38 ]; 39 maintainers = [ ]; 40 mainProgram = "suckit"; 41 }; 42}