Skip to content

Commit

Permalink
waymore: init at 4.7 (#366822)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Dec 25, 2024
2 parents bcf9777 + ab9f4b1 commit 6598673
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions pkgs/by-name/wa/waymore/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
lib,
fetchFromGitHub,
python3Packages,
waymore,
testers,
}:

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

passthru.tests.version = testers.testVersion {
package = waymore;
command = "waymore --version";
version = "Waymore - v${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/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "waymore";
};
}

0 comments on commit 6598673

Please sign in to comment.