Merge pull request #180851 from Creator54/instaloader
This commit is contained in:
commit
d7c6724010
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/misc/instaloader/default.nix
Normal file
36
pkgs/tools/misc/instaloader/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue