update arrs
This commit is contained in:
parent
fa3dd0637b
commit
2bb9d5bf13
3 changed files with 23 additions and 9 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
hash =
|
||||
{
|
||||
x64-linux_hash = "sha256-aiH4bv47cnBzUtFwfJfmrY+2LaqgZkRXT2Jx8FkSX7M=";
|
||||
x64-linux_hash = "sha256-P2VEFDWOj4RawORH35Hxh59Aine3gp3WpTDxmzzmJGg=";
|
||||
arm64-linux_hash = lib.fakeSha256;
|
||||
x64-osx_hash = lib.fakeSha256;
|
||||
arm64-osx_hash = lib.fakeSha256;
|
||||
|
@ -38,15 +38,23 @@
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "prowlarr";
|
||||
version = "1.30.2.4939";
|
||||
version = "1.31.1.4959";
|
||||
branch = "develop";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||
# url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||
# url = "https://prowlarr.servarr.com/v1/update/develop/updatefile?version=1.31.1.4959&os=linux&runtime=netcore&arch=x64";
|
||||
url = "https://prowlarr.servarr.com/v1/update/${branch}/updatefile?version=${version}&os=linux&runtime=netcore&arch=${arch}";
|
||||
sha256 = hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir -p $out
|
||||
tar -zxf $src --strip-components=1
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
hash =
|
||||
{
|
||||
x64-linux_hash = "sha256-D0Np9Jz7E4/1dnWkFdHQIGthklCVc6yav2AAE9pFcu0=";
|
||||
x64-linux_hash = "sha256-JE6zUCUqC0MaAZ8gVfYV54q7M4eXVhxvx2Q9FzQfHVw=";
|
||||
arm64-linux_hash = lib.fakeSha256;
|
||||
x64-osx_hash = lib.fakeSha256;
|
||||
arm64-osx_hash = lib.fakeSha256;
|
||||
|
@ -38,15 +38,22 @@
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "radarr";
|
||||
version = "5.18.4.9674";
|
||||
version = "5.19.0.9697";
|
||||
branch = "develop";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||
# url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||
url = "https://radarr.servarr.com/v1/update/${branch}/updatefile?version=${version}&os=linux&runtime=netcore&arch=${arch}";
|
||||
sha256 = hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir -p $out
|
||||
tar -zxf $src --strip-components=1
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
@ -71,7 +78,6 @@ in
|
|||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = ./update.sh;
|
||||
tests.smoke-test = nixosTests.radarr;
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
hash =
|
||||
{
|
||||
x64-linux_hash = "sha256-M2qpyV8fdFleWge1k1EUEeGFg4G7caxkShIriac8bYk=";
|
||||
x64-linux_hash = "sha256-qG/qV6qkfwA7eRfxW6+ysJ3YcrW2oAP9lYruK5yEORI=";
|
||||
arm64-linux_hash = lib.fakeSha256;
|
||||
x64-osx_hash = lib.fakeSha256;
|
||||
arm64-osx_hash = lib.fakeSha256;
|
||||
|
@ -38,7 +38,7 @@
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sonarr";
|
||||
version = "4.0.12.2900";
|
||||
version = "4.0.13.2931";
|
||||
branch = "develop";
|
||||
|
||||
src = fetchurl {
|
||||
|
|
Loading…
Reference in a new issue