summaryrefslogtreecommitdiff
path: root/pkgs/chan-downloader.nix
blob: 9de5c7cb7ff53b6ecc726a88340d5f7e9d528c2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  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 ];
}