bazarr: migrate to fetchzip

This commit is contained in:
Peder Bergebakken Sundt 2024-10-07 13:36:51 +02:00
parent b05fa93248
commit 099e6bb02d

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: [