Merge pull request #180851 from Creator54/instaloader

This commit is contained in:
Sandro 2022-08-16 14:07:47 +02:00 committed by GitHub
commit d7c6724010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, sphinx
, requests
}:
buildPythonPackage rec {
pname = "instaloader";
version = "4.9.2";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "instaloader";
repo = "instaloader";
rev = "v${version}";
sha256 = "sha256-IzOXtoHuKbeHlp4URAlRrSKZ8mRTK7QgsWGd5a99thY=";
};
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;
};
}

View file

@ -32792,6 +32792,8 @@ with pkgs;
ideogram = callPackage ../applications/graphics/ideogram { };
instaloader = python3Packages.callPackage ../tools/misc/instaloader { };
instead = callPackage ../games/instead { };
instead-launcher = callPackage ../games/instead-launcher { };