2023-11-02 15:32:26 +00:00
|
|
|
{ pkgs, lib }:
|
|
|
|
|
|
|
|
pkgs.python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "bulk-downloader-for-reddit";
|
2023-12-16 18:44:27 +00:00
|
|
|
version = "development";
|
2023-11-02 15:32:26 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "aliparlakci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "8e6103952c4be3ccadfe29d3a0cae7a4d0b2c426";
|
|
|
|
hash = "sha256-kxCDtOywDSMxI+h8Ad2eziAGcZLbZHJFpDD/87BIbZY=";
|
|
|
|
};
|
|
|
|
|
2023-11-15 13:21:27 +00:00
|
|
|
patches = [
|
|
|
|
../patches/bulk-downloader-for-reddit_recursion-limit.patch
|
2024-03-02 13:06:25 +00:00
|
|
|
../patches/bulk-downloader-for-reddit_imgur-headers.patch
|
2023-11-15 13:21:27 +00:00
|
|
|
];
|
|
|
|
|
2023-11-02 15:32:26 +00:00
|
|
|
nativeBuildInputs = with pkgs.python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs.python3.pkgs; [
|
|
|
|
appdirs
|
|
|
|
beautifulsoup4
|
|
|
|
cachetools
|
|
|
|
click
|
|
|
|
dict2xml
|
|
|
|
praw
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
yt-dlp
|
2023-11-04 22:16:05 +00:00
|
|
|
|
|
|
|
pkgs.ffmpeg-headless
|
2023-11-02 15:32:26 +00:00
|
|
|
];
|
|
|
|
}
|