about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2024-05-16 23:42:37 +0200
committerGitHub <noreply@github.com>2024-05-16 23:42:37 +0200
commitaec06422ff04e9b453970b78ff1bc5c25ba5dd67 (patch)
tree1bd9df6c3c6ae3f101afaf648e5204c7617ee85d /pkgs/development
parent1de09583aaaf06c3af2520492d19b4be207e0543 (diff)
parentd796bb97aa9bcb8dc8e90e14fdb9c0946b32bf8f (diff)
Merge pull request #309594 from chpatrick/anyk-3.33
anyk: 3.26.0 -> 3.33.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/waybackpy/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/waybackpy/default.nix b/pkgs/development/python-modules/waybackpy/default.nix
new file mode 100644
index 0000000000000..1faa3beaef8fc
--- /dev/null
+++ b/pkgs/development/python-modules/waybackpy/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, click
+, urllib3
+, requests
+, pytest
+}:
+buildPythonPackage rec {
+  pname = "waybackpy";
+  version = "3.0.6";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-SXo3F1arp2ROt62g69TtsVy4xTvBNMyXO/AjoSyv+D8=";
+  };
+
+  dependencies = [
+    click
+    urllib3
+    requests
+  ];
+
+  nativeBuildInputs = [ pytest ];
+
+  pythonImportsCheck = [ "waybackpy" ];
+
+  meta = with lib; {
+    homepage = "https://akamhy.github.io/waybackpy/";
+    description = "Wayback Machine API interface & a command-line tool";
+    license = licenses.mit;
+    maintainers = with maintainers; [ chpatrick ];
+  };
+}