summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/waybackpy/default.nix
blob: bbac0d042879df63c349ba917d897977720e47db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchPypi,
  click,
  urllib3,
  requests,
  pytest,
}:
buildPythonPackage rec {
  pname = "waybackpy";
  version = "3.0.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-SXo3F1arp2ROt62g69TtsVy4xTvBNMyXO/AjoSyv+D8=";
  };

  dependencies = [
    click
    urllib3
    requests
  ];

  nativeBuildInputs = [ pytest ];

  pythonImportsCheck = [ "waybackpy" ];

  meta = {
    homepage = "https://akamhy.github.io/waybackpy/";
    description = "Wayback Machine API interface & a command-line tool";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ chpatrick ];
  };
}