2023-05-23 00:04:06 +00:00
|
|
|
{ pkgs, lib }:
|
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
|
|
pname = "vuetorrent";
|
2024-10-22 02:01:37 +00:00
|
|
|
version = "2.15.0";
|
2023-05-23 00:04:06 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
url = "https://github.com/WDaan/VueTorrent/releases/download/v${version}/vuetorrent.zip";
|
2024-10-22 02:01:37 +00:00
|
|
|
sha256 = "sha256-V/yro4Z00zd6mmXyRsoQwPW23BRbvQ4h6h5mVq1X2d0=";
|
2023-05-23 00:04:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pkgs; [ unzip ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
unzip $src
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/
|
|
|
|
cp -r vuetorrent/public/ $out/share/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The sleekest looking WEBUI for qBittorrent made with Vuejs! ";
|
|
|
|
homepage = "https://github.com/WDaan/VueTorrent";
|
|
|
|
license = [ licenses.gpl3Only ];
|
|
|
|
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|