vuetorrent: init at 2.18.0

This commit is contained in:
Gabe Dunn
2024-12-16 16:24:01 -08:00
parent 69e1e8ba04
commit 5021abb7ec
+40
View File
@@ -0,0 +1,40 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage rec {
pname = "vuetorrent";
version = "2.18.0";
src = fetchFromGitHub {
owner = "VueTorrent";
repo = "VueTorrent";
tag = "v${version}";
hash = "sha256-n5CtVNowGUsIHdxpnXmtXLpjwRfIoRoOr7Gh7PUE0ck=";
};
npmDepsHash = "sha256-PfnZ61m8VulRm18R3aqnIPrCXAy0DOOCUPIgr2eFrbk=";
installPhase = ''
runHook preInstall
mkdir -p $out/share
cp -r vuetorrent $out/share/vuetorrent
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Full-featured BitTorrent client written in Vue";
homepage = "https://github.com/VueTorrent/VueTorrent";
changelog = "https://github.com/VueTorrent/VueTorrent/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ redxtech ];
};
}