1
0
Fork 0

VueTorrent: init

This commit is contained in:
Daniel Kempkens 2023-05-23 02:04:06 +02:00
parent 801010f1d3
commit 8c21913418
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 34 additions and 0 deletions

View file

@ -25,6 +25,7 @@ jobs:
- run: nix build '.#neovim-nightly' - run: nix build '.#neovim-nightly'
- run: nix build '.#q' - run: nix build '.#q'
- run: nix build '.#rimgo' - run: nix build '.#rimgo'
- run: nix build '.#vuetorrent'
- run: nix build '.#bdfr-browser' - run: nix build '.#bdfr-browser'
- run: nix build '.#website-docs-nifoc-pw' - run: nix build '.#website-docs-nifoc-pw'

View file

@ -10,3 +10,4 @@
* [phantomjs](https://github.com/ariya/phantomjs) * [phantomjs](https://github.com/ariya/phantomjs)
* [q](https://github.com/natesales/q) * [q](https://github.com/natesales/q)
* [rimgo](https://codeberg.org/video-prize-ranch/rimgo) * [rimgo](https://codeberg.org/video-prize-ranch/rimgo)
* [VueTorrent](https://github.com/WDaan/VueTorrent)

View file

@ -50,6 +50,7 @@
nitter-unstable = import ./packages/nitter-unstable.nix { inherit pkgs lib; }; nitter-unstable = import ./packages/nitter-unstable.nix { inherit pkgs lib; };
q = import ./packages/q.nix { inherit pkgs lib; }; q = import ./packages/q.nix { inherit pkgs lib; };
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; }; rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
bdfr-browser = inputs'.bdfr-browser-flake.packages.default; bdfr-browser = inputs'.bdfr-browser-flake.packages.default;
website-docs-nifoc-pw = import ./packages/website-docs-nifoc-pw.nix { inherit pkgs; }; website-docs-nifoc-pw = import ./packages/website-docs-nifoc-pw.nix { inherit pkgs; };

31
packages/vuetorrent.nix Normal file
View file

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