vacuum-go: 0.16.1 -> 0.16.2 (#380231)
[NixPkgs.git] / pkgs / by-name / wa / waymore / package.nix
blob155e5c3c97ef9c5e011c0d3d0dbab37b623669e7
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5   waymore,
6   testers,
7 }:
9 python3Packages.buildPythonApplication rec {
10   pname = "waymore";
11   version = "4.7";
13   src = fetchFromGitHub {
14     owner = "xnl-h4ck3r";
15     repo = "waymore";
16     tag = "v${version}";
17     hash = "sha256-oaswuXQPdAl2XExwEWnSN15roqNj9OVUr1Y1vsX461o=";
18   };
20   preBuild = ''
21     export HOME=$(mktemp -d)
22   '';
24   build-system = with python3Packages; [
25     setuptools
26   ];
28   dependencies = with python3Packages; [
29     requests
30     termcolor
31     pyyaml
32     psutil
33     uritools
34     tldextract
35   ];
37   passthru.tests.version = testers.testVersion {
38     package = waymore;
39     command = "waymore --version";
40     version = "Waymore - v${version}";
41   };
43   meta = {
44     description = "Find way more from the Wayback Machine";
45     homepage = "https://github.com/xnl-h4ck3r/waymore";
46     changelog = "https://github.com/xnl-h4ck3r/waymore/releases/tag/v${version}";
47     license = lib.licenses.mit;
48     maintainers = with lib.maintainers; [ genga898 ];
49     mainProgram = "waymore";
50   };