From 30dac56dab94c3dfbf50cd18c0003cf2d87839c1 Mon Sep 17 00:00:00 2001 From: Nano Twerpus Date: Mon, 27 May 2024 16:32:54 -0400 Subject: [PATCH] jellyfin-web: add `assert version == jellyfin.version` to `src` --- pkgs/servers/jellyfin/web.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/jellyfin/web.nix b/pkgs/servers/jellyfin/web.nix index 16e83e1f6217b..f5d65ae059837 100644 --- a/pkgs/servers/jellyfin/web.nix +++ b/pkgs/servers/jellyfin/web.nix @@ -29,12 +29,14 @@ buildNpmPackage' rec { pname = "jellyfin-web"; version = "10.9.3"; - src = fetchFromGitHub { - owner = "jellyfin"; - repo = "jellyfin-web"; - rev = "v${version}"; - hash = "sha256-duq2tilUDEzj7o3Nq3Ku5qVJm4XDqVmqkQQIK/dlTpE="; - }; + src = + assert version == jellyfin.version; + fetchFromGitHub { + owner = "jellyfin"; + repo = "jellyfin-web"; + rev = "v${version}"; + hash = "sha256-duq2tilUDEzj7o3Nq3Ku5qVJm4XDqVmqkQQIK/dlTpE="; + }; npmDepsHash = "sha256-nKA/mR1ug1yq4+jJGhWGtAL9Zsx3KjDPqt5rkCE4LFU=";