Skip to content

Commit

Permalink
waymore: init at 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
genga898 committed Dec 20, 2024
1 parent 9e60f64 commit f425530
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions pkgs/by-name/wa/waymore/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:

python3Packages.buildPythonApplication rec {
pname = "waymore";
version = "4.7";

src = fetchFromGitHub {
owner = "xnl-h4ck3r";
repo = "waymore";
tag = "v${version}";
hash = "sha256-oaswuXQPdAl2XExwEWnSN15roqNj9OVUr1Y1vsX461o=";
};

preBuild = ''
export HOME=$(mktemp -d)
'';

build-system = with python3Packages; [
setuptools
];

dependencies = with python3Packages; [
requests
termcolor
pyyaml
psutil
uritools
tldextract
];

doInstallCheck = true;

nativeInstallCheckInputs = [
versionCheckHook
];

versionCheckProgramArg = [ "--version" ];

meta = {
description = "Find way more from the Wayback Machine";
homepage = "https://github.com/xnl-h4ck3r/waymore";
changelog = "https://github.com/xnl-h4ck3r/waymore/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "waymore";
};
}

0 comments on commit f425530

Please sign in to comment.