bazarr: update to 1.5.0

This commit is contained in:
Pim Kunis 2024-12-29 16:02:16 +01:00
parent 70880ac224
commit c0435e5ef5
4 changed files with 28 additions and 4 deletions

View file

@ -676,11 +676,11 @@
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1734976053, "lastModified": 1735123092,
"narHash": "sha256-hvKsaAgdZKeAv/VnF/W0isS+Ex/5ij7AGmp5tLpFGuQ=", "narHash": "sha256-hvKsaAgdZKeAv/VnF/W0isS+Ex/5ij7AGmp5tLpFGuQ=",
"owner": "pizzapim", "owner": "pizzapim",
"repo": "NixNG", "repo": "NixNG",
"rev": "90cbec543482973ef5b314ad40a842623c2696a9", "rev": "18ac71897e8ac917e5db42b365090b437073b276",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -759,6 +759,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-bazarr": {
"locked": {
"lastModified": 1735086895,
"narHash": "sha256-893hOoQn5t9g0r57N0D8/G5WC4pPaNlprjAYO0TWRxc=",
"owner": "r-ryantm",
"repo": "nixpkgs",
"rev": "89e79d58769436a8cfd0d80ae28012d51134f2f3",
"type": "github"
},
"original": {
"owner": "r-ryantm",
"ref": "auto-update/bazarr",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-jellyseerr": { "nixpkgs-jellyseerr": {
"locked": { "locked": {
"lastModified": 1734809038, "lastModified": 1734809038,
@ -939,6 +955,7 @@
"nixhelm": "nixhelm", "nixhelm": "nixhelm",
"nixng": "nixng", "nixng": "nixng",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-bazarr": "nixpkgs-bazarr",
"nixpkgs-jellyseerr": "nixpkgs-jellyseerr", "nixpkgs-jellyseerr": "nixpkgs-jellyseerr",
"servers": "servers", "servers": "servers",
"treefmt-nix": "treefmt-nix_4" "treefmt-nix": "treefmt-nix_4"

View file

@ -6,6 +6,7 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
nixpkgs-jellyseerr.url = "github:coonce/nixpkgs?ref=jellyseerr"; nixpkgs-jellyseerr.url = "github:coonce/nixpkgs?ref=jellyseerr";
nixpkgs-bazarr.url = "github:r-ryantm/nixpkgs?ref=auto-update/bazarr";
git-hooks = { git-hooks = {
url = "github:cachix/git-hooks.nix"; url = "github:cachix/git-hooks.nix";

View file

@ -1,9 +1,14 @@
{...}: { {
system,
nixpkgs-bazarr,
...
}: {
dinit.enable = true; dinit.enable = true;
init.services.bazarr.shutdownOnExit = true; init.services.bazarr.shutdownOnExit = true;
services.bazarr = { services.bazarr = {
enable = true; enable = true;
package = nixpkgs-bazarr.legacyPackages.${system}.bazarr;
configDir = "/config"; configDir = "/config";
}; };
} }

View file

@ -4,6 +4,7 @@
nixng, nixng,
nixpkgs, nixpkgs,
nixpkgs-jellyseerr, nixpkgs-jellyseerr,
nixpkgs-bazarr,
... ...
}: }:
flake-utils.lib.eachDefaultSystem (system: let flake-utils.lib.eachDefaultSystem (system: let
@ -24,7 +25,7 @@ in {
inherit nixpkgs system; inherit nixpkgs system;
name = "nixng-${name}"; name = "nixng-${name}";
specialArgs = { specialArgs = {
inherit nixpkgs-jellyseerr; inherit nixpkgs-jellyseerr nixpkgs-bazarr;
inherit (self) globals; inherit (self) globals;
}; };
config = import configFile; config = import configFile;