parent
7540add6ee
commit
2f497101fa
3 changed files with 43 additions and 12 deletions
devices/nos/modules/qbittorrent
|
@ -7,19 +7,23 @@
|
|||
cfg = config.services.qbittorrent;
|
||||
pkg = pkgs.qbittorrent-nox;
|
||||
|
||||
vue = pkgs.stdenv.mkDerivation {
|
||||
name = "vuetorrent";
|
||||
nativeBuildInputs = [pkgs.unzip];
|
||||
buildInputs = [pkgs.unzip];
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.7.1/vuetorrent.zip";
|
||||
hash = "sha256-/6biiWVgYQF7SpiY3JmcW4NDAvePLwPyD+j12/BqPIE=";
|
||||
vue = let
|
||||
gen = import ./vuetorrent.nix;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "vuetorrent";
|
||||
inherit (gen) version;
|
||||
|
||||
nativeBuildInputs = [pkgs.unzip];
|
||||
src = pkgs.fetchurl {
|
||||
inherit (gen) url hash;
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out
|
||||
cp -a ./* $out
|
||||
'';
|
||||
};
|
||||
postInstall = ''
|
||||
mkdir $out
|
||||
cp -a ./* $out
|
||||
'';
|
||||
};
|
||||
|
||||
inherit
|
||||
(lib)
|
||||
|
|
6
devices/nos/modules/qbittorrent/vuetorrent.nix
Normal file
6
devices/nos/modules/qbittorrent/vuetorrent.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
# This file was autogenerated. DO NOT EDIT!
|
||||
{
|
||||
version = "2.7.2";
|
||||
url = "https://github.com/VueTorrent/VueTorrent/releases/download/v2.7.2/vuetorrent.zip";
|
||||
hash = "sha256-G7LkoQmTR9ilygPPrip+f/LnpEXaeWcb+xcBWIz98A8=";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue