summaryrefslogtreecommitdiffstats
path: root/pkgs/servers
diff options
context:
space:
mode:
authorWoky <pampu.andrei.social+git@pm.me>2021-03-25 12:17:59 +0200
committerGitHub <noreply@github.com>2021-03-25 11:17:59 +0100
commitdb9b2d58a3b0ce39278425703610eab71dd9f974 (patch)
treec4c2c90274f1fce4e00387aad5221082c4630b40 /pkgs/servers
parent87b55d1fbb89579f4bb62216f95285d9e3b0f1a4 (diff)
bazarr: 0.9.0.8 -> 0.9.2 (#115949)
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/bazarr/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/servers/bazarr/default.nix b/pkgs/servers/bazarr/default.nix
index d68646c42752..1356f1c7a07c 100644
--- a/pkgs/servers/bazarr/default.nix
+++ b/pkgs/servers/bazarr/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, lib, fetchurl, makeWrapper, python3, nixosTests }:
+{ stdenv, lib, fetchurl, makeWrapper, python3, unrar, ffmpeg, nixosTests }:
stdenv.mkDerivation rec {
pname = "bazarr";
- version = "0.9.0.8";
+ version = "0.9.2";
src = fetchurl {
url = "https://github.com/morpheus65535/bazarr/archive/v${version}.tar.gz";
- sha256 = "sha256-Ecbx7FHpcEkcWBAKCtZPtQKX5ibvU4tajSJ5pyEboKc=";
+ sha256 = "16mh7v8z5ijr75pvavcj6225w6bg12qy1d1w9vm2d5axnfm3wfbk";
};
nativeBuildInputs = [ makeWrapper ];
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
makeWrapper "${(python3.withPackages (ps: [ps.lxml ps.numpy])).interpreter}" \
$out/bin/bazarr \
--add-flags "$out/src/bazarr.py" \
+ --suffix PATH : ${lib.makeBinPath [ unrar ffmpeg ]} \
'';
passthru.tests = {
@@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Subtitle manager for Sonarr and Radarr";
homepage = "https://www.bazarr.media/";
- license = licenses.gpl3;
+ license = licenses.gpl3Only;
maintainers = with maintainers; [ xwvvvvwx ];
platforms = platforms.all;
};