From 5a5ad74b7f9f3178dfab84c93291fe03b3259ed3 Mon Sep 17 00:00:00 2001 From: Tochi4h4 <74688871+Tochiaha@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:13:04 +0100 Subject: [PATCH] python312Packages.freeproxy: init at 1.1.1 (#325628) Co-authored-by: Sandro --- .../python-modules/free-proxy/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/free-proxy/default.nix diff --git a/pkgs/development/python-modules/free-proxy/default.nix b/pkgs/development/python-modules/free-proxy/default.nix new file mode 100644 index 000000000000..79599e5ccd53 --- /dev/null +++ b/pkgs/development/python-modules/free-proxy/default.nix @@ -0,0 +1,35 @@ +{ lib, + fetchPypi, + fetchFromGitHub, + buildPythonPackage, + setuptools, + lxml, + requests, +}: + +buildPythonPackage rec { + pname = "free-proxy"; + version = "1.1.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "jundymerk"; + repo = "free-proxy"; + rev = "refs/tags/v${version}"; + hash = "sha256-1hTOMbsL1089/yPZbAIs5OgjtEzCBlFv2hGi+u4hV/k="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + lxml + requests + ]; + + meta = { + description = "Free proxy scraper written in python"; + homepage = "https://github.com/jundymek/free-proxy"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ tochiaha ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 80d4447be1ac..ce5d234e24ff 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4532,6 +4532,8 @@ self: super: with self; { font-v = callPackage ../development/python-modules/font-v { }; + free-proxy = callPackage ../development/python-modules/free-proxy { }; + skia-pathops = callPackage ../development/python-modules/skia-pathops { inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL; };