{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, }: let rustUtils = import ../lib/rust-utils.nix { inherit lib rustPlatform fetchFromGitHub; }; in rustUtils.mkRustPackage { pname = "chan-downloader"; version = "e418e909ab90c8700d51b08e170051804a6919d2"; githubOwner = "Fuwn"; githubHash = "sha256-x0pKdaQFPXbdK7BjzZNA9Bq1RL2+ipe8DWav9fbLDp4="; cargoHash = "sha256-G0vcigHj83d9j6qMc23NTzdFMrFsNNSYBhHZYyAJhYo="; description = "CLI to download all images/webms in a 4chan thread"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Fuwn ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl.dev ]; }