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; };