about summary refs log tree commit diff
path: root/pkgs/development/python-modules/free-proxy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/free-proxy/default.nix')
-rw-r--r--pkgs/development/python-modules/free-proxy/default.nix37
1 files changed, 37 insertions, 0 deletions
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 0000000000000..c6d78bedfab6d
--- /dev/null
+++ b/pkgs/development/python-modules/free-proxy/default.nix
@@ -0,0 +1,37 @@
+{
+  lib,
+  fetchFromGitHub,
+  buildPythonPackage,
+  setuptools,
+  pip-chill,
+  lxml,
+  requests,
+}:
+
+buildPythonPackage rec {
+  pname = "free-proxy";
+  version = "1.1.1";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "jundymek";
+    repo = "free-proxy";
+    rev = "refs/tags/${version}";
+    hash = "sha256-82usyhUzZrdYir8puiAfaF650f0PxYJSXBE75zxYjK8=";
+  };
+
+  build-system = [ setuptools ];
+
+  dependencies = [
+    pip-chill
+    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 ];
+  };
+}