2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
, sphinx
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "instaloader";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "4.9.6";
|
2022-08-21 13:32:41 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "instaloader";
|
|
|
|
repo = "instaloader";
|
2022-09-09 14:08:57 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-02-16 17:41:37 +00:00
|
|
|
sha256 = "sha256-ZxvJPDj+r7KSyXpYNQIgnda5OS77GOFM901ZHgR6c4k=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
sphinx
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "instaloader" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://instaloader.github.io/";
|
|
|
|
description = "Download pictures (or videos) along with their captions and other metadata from Instagram";
|
|
|
|
maintainers = with maintainers; [ creator54 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|