aboutsummaryrefslogtreecommitdiff
path: root/pkgs/chan-downloader/default.nix
blob: c270e3e2603aa26dcfeb696e71ccf363a2ec7edd (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,
  pkg-config,
  openssl,
  pkgs,
}:
pkgs.buildRustPackage (
  with lib;
  {
    pname = "chan-downloader";
    version = "be4617f";
    githubOwner = "mariot";
    githubHash = "sha256-gD6jiSk1RnlgnomhhbajUBq8SQT46u9j8VnkE/IuXqk=";
    description = "CLI to download all images/webms in a 4chan thread";
    license = licenses.mit;
    maintainers = [ maintainers.Fuwn ];
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ openssl.dev ];
    cargoLock.lockFile = ./Cargo.lock;
    postPatch = "ln -s ${./Cargo.lock} Cargo.lock";
  }
)