depot/third_party/nixpkgs/pkgs/development/python-modules/waybackpy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
648 B
Nix

{
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 ];
};
}