Skip to content

Commit 94489ce

Browse files
Merge pull request #17 from CCBlueX/other_main
Update CEF version in the nix build file
2 parents 239cb4d + 5a981fc commit 94489ce

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

default.nix

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,14 @@ let
5555
};
5656
}
5757
.${platform};
58+
cef_version = "135.0.20+ge7de5c3+chromium-135.0.7049.85";
5859
inherit (arches) depsArch projectArch targetArch;
5960

6061
in
6162
pkgs.stdenv.mkDerivation rec {
6263
pname = "jcef-ccbluex";
63-
rev = "06399a49d24f2c372668ccce26a15c533199ec9e";
64-
# This is the commit number
65-
# Currently from the branch: https://github.com/JetBrains/jcef/tree/242
66-
# Run `git rev-list --count HEAD`
67-
version = "867";
64+
rev = "eaeb3d4370aa3526ee237ad1981ad59af3de4dd1";
65+
version = "458";
6866

6967
nativeBuildInputs = with pkgs; [
7068
cmake
@@ -84,21 +82,14 @@ pkgs.stdenv.mkDerivation rec {
8482
thrift
8583
];
8684

87-
#src = fetchFromGitHub {
88-
# owner = "CCBlueX";
89-
# repo = "java-cef";
90-
# inherit rev;
91-
# hash = "sha256-V/RlPp6a8ouVbUWwyPPU2hcsUlUXhVicc2yaPyi3GO0=";
92-
#};
93-
9485
src = ./.;
9586
cef-bin =
9687
let
9788
# `cef_binary_${CEF_VERSION}_linux64_minimal`, where CEF_VERSION is from $src/CMakeLists.txt
98-
name = "cef_binary_122.1.10+gc902316+chromium-122.0.6261.112_${platform}";
89+
name = "cef_binary_${cef_version}_${platform}";
9990
hash =
10091
{
101-
"linux64" = "sha256-4EGKJgfRon4vkbwq14V5gSlph0Z5sjVnrzWv9nlQ20Q=";
92+
"linux64" = "sha256-hnndcV5UhCHa4VZOLajiPfejEXWrvCgxsFe2+a80t+Y=";
10293
}
10394
.${platform};
10495
urlName = builtins.replaceStrings [ "+" ] [ "%2B" ] name;
@@ -112,7 +103,7 @@ pkgs.stdenv.mkDerivation rec {
112103
url = "https://storage.googleapis.com/chromium-clang-format/dd736afb28430c9782750fc0fd5f0ed497399263";
113104
hash = "sha256-4H6FVO9jdZtxH40CSfS+4VESAHgYgYxfCBFSMHdT0hE=";
114105
};
115-
releaseName = {
106+
releaseName = {
116107
"linux64" = "linux_amd64";
117108
}.${platform};
118109

0 commit comments

Comments
 (0)