packages: Add cfscrape and pySmartDL

This commit is contained in:
PapaTutuWawa 2021-08-25 12:07:00 +02:00
parent d71afad094
commit ed430bcf54
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{
pkgs
, lib
, fetchFromGitHub
, python3Packages
, python3
, extraPkgs ? pkgs: []
}:
python3Packages.buildPythonApplication rec {
pname = "cfscrape";
version = "2.1.1";
src = fetchFromGitHub {
owner = "Anorov";
repo = "cloudflare-scrape";
rev = version;
sha256 = "00ijxjkk0fz4yi5wazvjdzyhsqpqnck3aa2njjk4z3i7k82jbvxq";
};
propagatedBuildInputs = with python3.pkgs; [ requests ];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/Anorov/cloudflare-scrape";
description = "A Python module to bypass Cloudflare's anti-bot page.";
license = licenses.mit;
maintainers = [];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,30 @@
{
pkgs
, lib
, fetchFromGitHub
, python3Packages
, python3
, extraPkgs ? pkgs: []
}:
python3Packages.buildPythonApplication rec {
pname = "pySmartDL";
version = "1.3.4";
src = fetchFromGitHub {
owner = "iTaybb";
repo = "pySmartDL";
rev = "v${version}";
sha256 = "1hr029gh0l0km1prhmxyy0jwgi61l16b5v30rnlc3mc123gszp0j";
};
doCheck = false;
meta = with lib; {
homepage = "https://github.com/iTaybb/pySmartDL/";
description = "A Smart Download Manager for Python ";
license = licenses.unlicense;
maintainers = [];
platforms = platforms.linux;
};
}