about summary refs log tree commit diff
path: root/pkgs/development/python-modules/waybackpy/default.nix
blob: 1faa3beaef8fc44c9040afa3646292633e8a2fde (plain) (blame)
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
{ 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 ];
  };
}