diff --git a/pkgs/by-name/st/stremio-linux-shell/package.nix b/pkgs/by-name/st/stremio-linux-shell/package.nix index 717779fa16ec..c278d0d01a8a 100644 --- a/pkgs/by-name/st/stremio-linux-shell/package.nix +++ b/pkgs/by-name/st/stremio-linux-shell/package.nix @@ -6,6 +6,7 @@ nix-update-script, # nativeBuildInputs + installShellFiles, pkg-config, wrapGAppsHook4, @@ -26,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "stremio-linux-shell"; - version = "1.2.0"; + version = "1.2.1"; strictDeps = true; __structuredAttrs = true; @@ -35,10 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "Stremio"; repo = "stremio-linux-shell"; tag = "v${finalAttrs.version}"; - hash = "sha256-JFG+sUuK+l8Ik00vHPiXJwan0rmMBiY85DnvudYKCsw="; + hash = "sha256-lViVembyM9W/GY4v4RwBVBg5AKTG98K25L8FVjouWYs="; }; - cargoHash = "sha256-FnQ2FN9NtL/YyRmLlyGQApjzV/4uS8OnnY8kbTWTGe8="; + cargoHash = "sha256-dnGE//4SUO5xwudMqdE98w/teirTj7Q6xLycWH05WJ8="; patches = [ ./out-path.patch @@ -50,6 +51,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; nativeBuildInputs = [ + installShellFiles pkg-config wrapGAppsHook4 ]; @@ -74,6 +76,8 @@ rustPlatform.buildRustPackage (finalAttrs: { install -Dm755 data/stremio.sh $out/bin/stremio install -Dm644 LICENSE $out/share/licenses/stremio/LICENSE + installManPage data/stremio.1 + mv $out/bin/stremio-linux-shell $out/libexec/stremio/stremio ''; @@ -87,7 +91,6 @@ rustPlatform.buildRustPackage (finalAttrs: { --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ addDriverRunpath.driverLink ]}" \ --prefix PATH : "${lib.makeBinPath [ nodejs ]}" \ --prefix ANV_DEBUG : "video-decode,video-encode" \ - --prefix LC_NUMERIC : "C" \ --prefix SERVER_PATH : "$out/libexec/stremio/server.js" '';