jellyfin-web: 10.7.7 -> 10.8.0
This commit is contained in:
parent
6bd5219cc1
commit
be8ccf1bf2
@ -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
@ -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
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user