2019-05-01 11:21:53 +01:00
|
|
|
{ lib, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "gallery_dl";
|
2020-10-29 03:49:39 +00:00
|
|
|
version = "1.15.2";
|
2019-05-01 11:21:53 +01:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-29 03:49:39 +00:00
|
|
|
sha256 = "0f2d1ixg0ir7ispxxggv378dc0m55k9y19075swf893maxf07f35";
|
2019-05-01 11:21:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ requests ];
|
|
|
|
|
2020-10-11 23:03:39 +01:00
|
|
|
checkInputs = with python3Packages; [ pytestCheckHook ];
|
|
|
|
pytestFlagsArray = [
|
|
|
|
# requires network access
|
|
|
|
"--ignore=test/test_results.py"
|
2020-10-29 03:49:39 +00:00
|
|
|
"--ignore=test/test_downloader.py"
|
2020-10-11 23:03:39 +01:00
|
|
|
];
|
|
|
|
|
2019-05-01 11:21:53 +01:00
|
|
|
meta = {
|
|
|
|
description = "Command-line program to download image-galleries and -collections from several image hosting sites";
|
2020-03-04 23:34:31 +00:00
|
|
|
homepage = "https://github.com/mikf/gallery-dl";
|
2019-05-01 11:21:53 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ dawidsowa ];
|
|
|
|
};
|
|
|
|
}
|