jellyfin-web: 10.7.7 -> 10.8.0

This commit is contained in:
Johannes Schleifenbaum 2022-03-28 10:48:01 +02:00
parent 6bd5219cc1
commit be8ccf1bf2
No known key found for this signature in database
GPG key ID: 059093B1A278BCD0
4 changed files with 3547 additions and 3186 deletions

View file

@ -1,4 +1,4 @@
# This file has been generated by node2nix 1.9.0. Do not edit!
# This file has been generated by node2nix 1.11.1. Do not edit!
{pkgs ? import <nixpkgs> {
inherit system;

File diff suppressed because it is too large Load diff

View file

@ -19,12 +19,11 @@ store_src="$(nix-build . -A jellyfin-web.src --no-out-link)"
cd "$(dirname "${BASH_SOURCE[0]}")"
# TODO: use package-lock.json on the next major release
# https://github.com/jellyfin/jellyfin-web/commit/6efef9680d55a93f4333ef8bfb65a8a650c99a49
node2nix \
--nodejs-14 \
--development \
--node-env ../../development/node-packages/node-env.nix \
--output ./node-deps.nix \
--input "$store_src/package.json" \
--lock "$store_src/package-lock.json" \
--composition ./node-composition.nix

View file

@ -7,28 +7,13 @@
stdenv.mkDerivation rec {
pname = "jellyfin-web";
version = "10.7.7";
# TODO: on the next major release remove src.postFetch
# and use the lock file in web-update.sh:
# https://github.com/jellyfin/jellyfin-web/commit/6efef9680d55a93f4333ef8bfb65a8a650c99a49
version = "10.8.0";
src = fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-web";
rev = "v${version}";
sha256 = "RDp51IWQ0Woz26cVgWsiLc8DyZztI2ysPbhmOR3jguE=";
postFetch = ''
mkdir -p $out
cd $out
tar -xzf $downloadedFile --strip-components=1
# replace unsupported dependency url
# https://github.com/svanderburg/node2nix/issues/163
substituteInPlace package.json \
--replace \
"https://github.com/jellyfin/JavascriptSubtitlesOctopus#4.0.0-jf-smarttv" \
"https://github.com/jellyfin/JavascriptSubtitlesOctopus/archive/refs/tags/4.0.0-jf-smarttv.tar.gz"
'';
sha256 = "vLY/rTw2R2WphYbnGK4IJ78OzQTTGOWLd8nXWp8+CQk=";
};
nativeBuildInputs = [