Skip to content

Commit

Permalink
vuetorrent: init at 2.18.0 (#358030)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther authored Dec 17, 2024
2 parents e0c6baa + 5021abb commit 9642691
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/vu/vuetorrent/package.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

0 comments on commit 9642691

Please sign in to comment.