1
0
Fork 0
nix-overlay/packages/bulk-downloader-for-reddit.nix
Daniel Kempkens 0e5c473aec
All checks were successful
Build / build-amd64-linux (push) Successful in 37s
Build / build-arm64-linux (push) Successful in 59s
bdfr: patch imgur headers
2024-03-02 14:06:25 +01:00

38 lines
776 B
Nix

{ pkgs, lib }:
pkgs.python3.pkgs.buildPythonApplication rec {
pname = "bulk-downloader-for-reddit";
version = "development";
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "aliparlakci";
repo = pname;
rev = "8e6103952c4be3ccadfe29d3a0cae7a4d0b2c426";
hash = "sha256-kxCDtOywDSMxI+h8Ad2eziAGcZLbZHJFpDD/87BIbZY=";
};
patches = [
../patches/bulk-downloader-for-reddit_recursion-limit.patch
../patches/bulk-downloader-for-reddit_imgur-headers.patch
];
nativeBuildInputs = with pkgs.python3.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with pkgs.python3.pkgs; [
appdirs
beautifulsoup4
cachetools
click
dict2xml
praw
pyyaml
requests
yt-dlp
pkgs.ffmpeg-headless
];
}