Skip to content

Commit

Permalink
vuetorrent: init at 2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
redxtech committed Nov 22, 2024
1 parent 23e89b7 commit fea6dfb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/vu/vuetorrent/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
lib,
stdenv,
fetchzip,
nix-update-script,
}:

stdenv.mkDerivation rec {
pname = "vuetorrent";
version = "2.18.0";

src = fetchzip {
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v${version}/vuetorrent.zip";
hash = "sha256-Z+N1RgcF67R6hWEfmfBls1+YLWkhEJQuOVqXXJCyptE=";
};

installPhase = ''
mkdir -p $out/var/www/vuetorrent
cp -r * $out/var/www/vuetorrent
'';

passthru.updateScript = nix-update-script { };

meta = {
description = "A full-featured BitTorrent client written in Vue";
homepage = "https://github.com/VueTorrent/VueTorrent";
changelog = "https://github.com/VueTorrent/VueTorrent/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ redxtech ];
};
}

0 comments on commit fea6dfb

Please sign in to comment.