bazarr: migrate to fetchzip (#347066)

This commit is contained in:
Atemu 2024-10-08 08:28:23 +02:00 committed by GitHub
commit 09eda37006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, makeWrapper, unzip, python3, unar, ffmpeg, nixosTests }:
{ stdenv, lib, fetchzip, makeWrapper, python3, unar, ffmpeg, nixosTests }:
let
runtimeProgDeps = [
@ -10,14 +10,13 @@ stdenv.mkDerivation rec {
pname = "bazarr";
version = "1.4.4";
sourceRoot = ".";
src = fetchurl {
src = fetchzip {
url = "https://github.com/morpheus65535/bazarr/releases/download/v${version}/bazarr.zip";
sha256 = "sha256-YVg9pHk7KB4FjtmsFV4INSIKdLFiHHN8FHxeVDz2SlU=";
hash = "sha256-FZKGHC7CLzIzOXH77iHwSb9+Mw1z+kiz+1rLO6XU/94=";
stripRoot = false;
};
nativeBuildInputs = [ unzip makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
(python3.withPackages (ps: [