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 9bc8d32
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 105 deletions.
15 changes: 11 additions & 4 deletions pkgs/by-name/je/jellyfin-web/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,25 @@ 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=";
hash = "sha256-BuAvdDIvW2mQ+MzVBPGCFV73P6GxR/I3U24kCu+lXbc=";
};

npmDepsHash = "sha256-kQxfh8o8NBshKmmjQrLdxiOQK83LG+lxhZwzDkEJwEo=";
postPatch = ''
# use tag rather than commit hash
# using sass-embedded fails at executing node_modules/sass-embedded-linux-x64/dart-sass/src/dart
substituteInPlace webpack.common.js \
--replace-fail "git describe --always --dirty" "echo ${src.rev}" \
--replace-fail "'sass-loader'" "{loader: 'sass-loader', options: {implementation: require('sass')}}"
'';

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

npmBuildScript = [ "build:production" ];

Expand Down
Loading

0 comments on commit 9bc8d32

Please sign in to comment.