Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
935 B
Nix
Raw Permalink Normal View History

2024-11-19 03:54:39 -08:00
{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage rec {
pname = "vuetorrent";
2025-08-10 17:53:20 +01:00
version = "2.28.2";
2024-11-19 03:54:39 -08:00
src = fetchFromGitHub {
owner = "VueTorrent";
repo = "VueTorrent";
tag = "v${version}";
2025-08-10 17:53:20 +01:00
hash = "sha256-8n5OM55Z5xGLAXU6jqt2bKmrYa5ZnWatW0LsjOkJeDg=";
2024-11-19 03:54:39 -08:00
};
2025-08-10 17:53:20 +01:00
npmDepsHash = "sha256-Sh6s7zACAUu8j9ugST71j5u5nEWGVxC6dOniE+xjP6E=";
2024-11-19 03:54:39 -08:00
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 ];
};
}