1
0
Fork 0
nix-overlay/packages/vuetorrent.nix
Daniel Kempkens 13a26eb5f0
All checks were successful
Build / build-amd64-linux (push) Successful in 8m39s
Build / build-arm64-linux (push) Successful in 17m15s
Update
2023-10-21 13:04:56 +02:00

32 lines
766 B
Nix

{ pkgs, lib }:
pkgs.stdenv.mkDerivation rec {
pname = "vuetorrent";
version = "1.8.0";
src = pkgs.fetchurl {
url = "https://github.com/WDaan/VueTorrent/releases/download/v${version}/vuetorrent.zip";
sha256 = "sha256-A8hQ8a2BiJBPvSYz4B/GKbmCn2xVpbmYdPTYz3HJ7ss=";
};
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" ];
};
}