mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
logseq: 0.10.9-unstable-2025-03-11 -> 0.10.12, sign binaries on darwin (#405683)
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
replaceVars,
|
||||
runCommand,
|
||||
writeShellScriptBin,
|
||||
|
||||
copyDesktopItems,
|
||||
cctools,
|
||||
clojure,
|
||||
darwin,
|
||||
makeDesktopItem,
|
||||
makeWrapper,
|
||||
nodejs,
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "logseq";
|
||||
version = "0.10.9-unstable-2025-03-11";
|
||||
version = "0.10.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "logseq";
|
||||
repo = "logseq";
|
||||
rev = "ac0a0dae727c46b348d0f1410138d5e49d446692";
|
||||
hash = "sha256-esCB51BeWnni/JFL4yMKcJj5lka2+hLpcvWGify0T2o=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SUzt4hYHE6XJOEMxFp2a0om2oVUk1MHQUteGFiM9Lkc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
yarnOfflineCacheRoot = fetchYarnDeps {
|
||||
name = "logseq-${finalAttrs.version}-yarn-deps-root";
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-z4G675kxfpmG2AJlbK5bfeUUgX7jz1ys2FlMNHJqrQ4=";
|
||||
hash = "sha256-sbC6WQLjEHIKTuejSQXplQOWZwUmBJdGXuAkilQGjYs=";
|
||||
};
|
||||
|
||||
# ./static and ./resources are combined into ./static by the build process
|
||||
@@ -107,7 +107,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
name = "logseq-${finalAttrs.version}-yarn-deps-static-resources";
|
||||
inherit (finalAttrs) src;
|
||||
sourceRoot = "${finalAttrs.src.name}/static";
|
||||
hash = "sha256-xuZj2EKHxvkiDPKMLh3ZSvLT54k+buHqg9lRTFv8rNI=";
|
||||
hash = "sha256-01t6lolMbBL5f6SFk4qTkTx6SQXWtHuVkBhDwW+HScc=";
|
||||
};
|
||||
|
||||
yarnOfflineCacheAmplify = fetchYarnDeps {
|
||||
@@ -151,6 +151,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
cctools
|
||||
darwin.autoSignDarwinBinariesHook
|
||||
xcbuild
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user