bazarr: 0.9.0.8 -> 0.9.2 (#115949)

This commit is contained in:
Woky 2021-03-25 12:17:59 +02:00 committed by GitHub
parent 87b55d1fbb
commit db9b2d58a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ stdenv, lib, fetchurl, makeWrapper, python3, nixosTests }: { stdenv, lib, fetchurl, makeWrapper, python3, unrar, ffmpeg, nixosTests }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "bazarr"; pname = "bazarr";
version = "0.9.0.8"; version = "0.9.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/morpheus65535/bazarr/archive/v${version}.tar.gz"; url = "https://github.com/morpheus65535/bazarr/archive/v${version}.tar.gz";
sha256 = "sha256-Ecbx7FHpcEkcWBAKCtZPtQKX5ibvU4tajSJ5pyEboKc="; sha256 = "16mh7v8z5ijr75pvavcj6225w6bg12qy1d1w9vm2d5axnfm3wfbk";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
makeWrapper "${(python3.withPackages (ps: [ps.lxml ps.numpy])).interpreter}" \ makeWrapper "${(python3.withPackages (ps: [ps.lxml ps.numpy])).interpreter}" \
$out/bin/bazarr \ $out/bin/bazarr \
--add-flags "$out/src/bazarr.py" \ --add-flags "$out/src/bazarr.py" \
--suffix PATH : ${lib.makeBinPath [ unrar ffmpeg ]} \
''; '';
passthru.tests = { passthru.tests = {
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Subtitle manager for Sonarr and Radarr"; description = "Subtitle manager for Sonarr and Radarr";
homepage = "https://www.bazarr.media/"; homepage = "https://www.bazarr.media/";
license = licenses.gpl3; license = licenses.gpl3Only;
maintainers = with maintainers; [ xwvvvvwx ]; maintainers = with maintainers; [ xwvvvvwx ];
platforms = platforms.all; platforms = platforms.all;
}; };