instaloader: migrate to by-name (#425127)
This commit is contained in:
@@ -1,43 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
sphinx,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "instaloader";
|
||||
version = "4.14.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "instaloader";
|
||||
repo = "instaloader";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-q5/lZ+BHnrod0vG/ZJw/5iJRKKaP3Gbns5yaZH0P2rE=";
|
||||
hash = "sha256-q5/lZ+BHnrod0vG/ZJw/5iJRKKaP3Gbns5yaZH0P2rE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
sphinx
|
||||
dependencies = [
|
||||
python3Packages.requests
|
||||
python3Packages.sphinx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "instaloader" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
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;
|
||||
maintainers = with lib.maintainers; [ creator54 ];
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "instaloader";
|
||||
};
|
||||
}
|
||||
@@ -14770,8 +14770,6 @@ with pkgs;
|
||||
|
||||
ibmcloud-cli = callPackage ../tools/admin/ibmcloud-cli { stdenv = stdenvNoCC; };
|
||||
|
||||
instaloader = python3Packages.callPackage ../tools/misc/instaloader { };
|
||||
|
||||
iortcw = callPackage ../games/iortcw { };
|
||||
# used as base package for iortcw forks
|
||||
iortcw_sp = callPackage ../games/iortcw/sp.nix { };
|
||||
|
||||
Reference in New Issue
Block a user