Skip to content

Commit

Permalink
jellyfin: 10.9.11 -> 10.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Oct 28, 2024
1 parent 6a58a23 commit bf8b641
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 111 deletions.
28 changes: 18 additions & 10 deletions pkgs/by-name/je/jellyfin-web/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,26 @@ let
in
buildNpmPackage' rec {
pname = "jellyfin-web";
version = "10.9.11";
version = "10.10.0";

src =
assert version == jellyfin.version;
fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-web";
rev = "v${version}";
hash = "sha256-zt0Exx/4B5gqiN3fxvQuVh1MqRNNtJG6/G0/reqVHRc=";
};
src = fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-web";
rev = "v${version}";
hash = "sha256-BuAvdDIvW2mQ+MzVBPGCFV73P6GxR/I3U24kCu+lXbc=";
};

postPatch = ''
substituteInPlace webpack.common.js \
--replace-fail "git describe --always --dirty" "echo ${src.rev}" \
'';

npmDepsHash = "sha256-kQxfh8o8NBshKmmjQrLdxiOQK83LG+lxhZwzDkEJwEo=";
npmDepsHash = "sha256-EAZm4UTc9+gW7uPiNEp2vLSKA2vOmLKKZ4/DrnGrvYQ=";

preBuild = ''
# using sass-embedded fails at executing node_modules/sass-embedded-linux-x64/dart-sass/src/dart
rm -r node_modules/sass-embedded*
'';

npmBuildScript = [ "build:production" ];

Expand Down
Loading

0 comments on commit bf8b641

Please sign in to comment.