VueTorrent: init
This commit is contained in:
parent
801010f1d3
commit
8c21913418
4 changed files with 34 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -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'
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
31
packages/vuetorrent.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue