Loading pkgs/by-name/en/ente-desktop/package.nix +33 −6 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ fetchFromGitHub, fetchYarnDeps, nodejs, electron_38, electron_41, yarnConfigHook, copyDesktopItems, vips, Loading @@ -13,14 +13,20 @@ autoPatchelfHook, makeDesktopItem, imagemagick, wasm-pack, rustPlatform, cargo, rustc, wasm-bindgen-cli_0_2_108, binaryen, }: let electron = electron_38; electron = electron_41; in stdenv.mkDerivation (finalAttrs: { pname = "ente-desktop"; version = "1.7.15"; version = "1.7.21"; src = fetchFromGitHub { owner = "ente-io"; Loading @@ -29,13 +35,25 @@ stdenv.mkDerivation (finalAttrs: { sparseCheckout = [ "desktop" "web" "rust" ]; tag = "photosd-v${finalAttrs.version}"; hash = "sha256-QnJp+oHkRsb/uMobA33Hgo2VOzfDFDtJ6vchCAzyb+c="; hash = "sha256-nkI2wfjpQPWPmu+IKbNMQuqby2odRG3Dbyzd7cSxmYY="; }; sourceRoot = "${finalAttrs.src.name}/desktop"; cargoRoot = "../web/packages/wasm"; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src sourceRoot cargoRoot ; hash = "sha256-ftb0h5MOHyQ2iec6iE7/WdHXgrviLCy8oIqFXv5OTq8="; }; offlineCache = fetchYarnDeps { name = "ente-desktop-${finalAttrs.version}-offline-cache"; inherit (finalAttrs) src sourceRoot; Loading @@ -45,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: { name = "ente-desktop-${finalAttrs.version}-web-offline-cache"; inherit (finalAttrs) src; sourceRoot = "${finalAttrs.src.name}/web"; hash = "sha256-m+7woB5XnOPDMLpoIBui1GxeW1BOms18SKJ8vaJcv68="; hash = "sha256-NhpSwesQ9B5gEeBQVjEEAKO4A68wfmBoQ3ga/baieNE="; }; nativeBuildInputs = [ Loading @@ -55,6 +73,14 @@ stdenv.mkDerivation (finalAttrs: { autoPatchelfHook # for onnxruntime copyDesktopItems imagemagick wasm-pack rustPlatform.cargoSetupHook cargo rustc rustc.llvmPackages.lld wasm-bindgen-cli_0_2_108 binaryen ]; buildInputs = [ Loading @@ -72,6 +98,7 @@ stdenv.mkDerivation (finalAttrs: { pushd ../web offlineCache=$webOfflineCache yarnConfigHook rm -rf node_modules/wasm-pack node_modules/.bin/wasm-pack popd cp -r ${electron.dist} ./electron_dist Loading Loading
pkgs/by-name/en/ente-desktop/package.nix +33 −6 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ fetchFromGitHub, fetchYarnDeps, nodejs, electron_38, electron_41, yarnConfigHook, copyDesktopItems, vips, Loading @@ -13,14 +13,20 @@ autoPatchelfHook, makeDesktopItem, imagemagick, wasm-pack, rustPlatform, cargo, rustc, wasm-bindgen-cli_0_2_108, binaryen, }: let electron = electron_38; electron = electron_41; in stdenv.mkDerivation (finalAttrs: { pname = "ente-desktop"; version = "1.7.15"; version = "1.7.21"; src = fetchFromGitHub { owner = "ente-io"; Loading @@ -29,13 +35,25 @@ stdenv.mkDerivation (finalAttrs: { sparseCheckout = [ "desktop" "web" "rust" ]; tag = "photosd-v${finalAttrs.version}"; hash = "sha256-QnJp+oHkRsb/uMobA33Hgo2VOzfDFDtJ6vchCAzyb+c="; hash = "sha256-nkI2wfjpQPWPmu+IKbNMQuqby2odRG3Dbyzd7cSxmYY="; }; sourceRoot = "${finalAttrs.src.name}/desktop"; cargoRoot = "../web/packages/wasm"; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src sourceRoot cargoRoot ; hash = "sha256-ftb0h5MOHyQ2iec6iE7/WdHXgrviLCy8oIqFXv5OTq8="; }; offlineCache = fetchYarnDeps { name = "ente-desktop-${finalAttrs.version}-offline-cache"; inherit (finalAttrs) src sourceRoot; Loading @@ -45,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: { name = "ente-desktop-${finalAttrs.version}-web-offline-cache"; inherit (finalAttrs) src; sourceRoot = "${finalAttrs.src.name}/web"; hash = "sha256-m+7woB5XnOPDMLpoIBui1GxeW1BOms18SKJ8vaJcv68="; hash = "sha256-NhpSwesQ9B5gEeBQVjEEAKO4A68wfmBoQ3ga/baieNE="; }; nativeBuildInputs = [ Loading @@ -55,6 +73,14 @@ stdenv.mkDerivation (finalAttrs: { autoPatchelfHook # for onnxruntime copyDesktopItems imagemagick wasm-pack rustPlatform.cargoSetupHook cargo rustc rustc.llvmPackages.lld wasm-bindgen-cli_0_2_108 binaryen ]; buildInputs = [ Loading @@ -72,6 +98,7 @@ stdenv.mkDerivation (finalAttrs: { pushd ../web offlineCache=$webOfflineCache yarnConfigHook rm -rf node_modules/wasm-pack node_modules/.bin/wasm-pack popd cp -r ${electron.dist} ./electron_dist Loading