3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/gallery-dl/default.nix

27 lines
753 B
Nix
Raw Normal View History

2019-05-01 11:21:53 +01:00
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "gallery_dl";
2020-10-11 23:03:39 +01:00
version = "1.15.1";
2019-05-01 11:21:53 +01:00
src = python3Packages.fetchPypi {
inherit pname version;
2020-10-11 23:03:39 +01:00
sha256 = "1pysh0gz3f3dxk5bfkzaii4myrgik396mf6vlks50inpbnslmqsl";
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"
];
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 ];
};
}