1
0
Fork 0
nix-overlay/packages/vuetorrent.nix
Daniel Kempkens fe8f5b177a
Some checks failed
Update Flake / update-flake (push) Successful in 1m7s
Build / build-amd64-linux (push) Successful in 1m27s
Build / build-arm64-linux (push) Failing after 11m48s
vuetorrent: update to 2.4.0
2023-12-11 21:46:13 +01:00

31 lines
766 B
Nix

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