diff --git a/packages/development/python/cfscrape/default.nix b/packages/development/python/cfscrape/default.nix new file mode 100644 index 0000000..066c2cc --- /dev/null +++ b/packages/development/python/cfscrape/default.nix @@ -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; + }; +} diff --git a/packages/development/python/pySmartDL/default.nix b/packages/development/python/pySmartDL/default.nix new file mode 100644 index 0000000..071e0e9 --- /dev/null +++ b/packages/development/python/pySmartDL/default.nix @@ -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; + }; +}