mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
stremio-linux-shell: 1.2.0 -> 1.2.1
Diff: https://github.com/Stremio/stremio-linux-shell/compare/v1.2.0...v1.2.1
Changelog: https://github.com/Stremio/stremio-linux-shell/releases/tag/v1.2.1
(cherry picked from commit 087569c430)
This commit is contained in:
committed by
github-actions[bot]
parent
6a5fdf8669
commit
65e62547d6
@@ -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"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user