Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 click, 6 urllib3, 7 requests, 8 pytest, 9}: 10buildPythonPackage rec { 11 pname = "waybackpy"; 12 version = "3.0.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-SXo3F1arp2ROt62g69TtsVy4xTvBNMyXO/AjoSyv+D8="; 17 }; 18 19 dependencies = [ 20 click 21 urllib3 22 requests 23 ]; 24 25 nativeBuildInputs = [ pytest ]; 26 27 pythonImportsCheck = [ "waybackpy" ]; 28 29 meta = with lib; { 30 homepage = "https://akamhy.github.io/waybackpy/"; 31 description = "Wayback Machine API interface & a command-line tool"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ chpatrick ]; 34 }; 35}