jimtcl: 0.82 -> 0.84 (#542884)

This commit is contained in:
Pavol Rusnak
2026-07-17 09:48:11 +00:00
committed by GitHub
2 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -19,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "jimtcl";
version = "0.82";
version = "0.84";
src = fetchFromGitHub {
owner = "msteveb";
repo = "jimtcl";
rev = finalAttrs.version;
sha256 = "sha256-CDjjrxpoTbLESAbCiCjQ8+E/oJP87gDv9SedQOzH3QY=";
sha256 = "sha256-MvsC82PMmh7PP1sXNwZRNDNFU7r5LWRA6YqvuvZ9yZE=";
};
nativeBuildInputs = [
+11 -2
View File
@@ -17,10 +17,19 @@
extraHardwareSupport ? [ ],
}:
let
isWindows = stdenv.hostPlatform.isWindows;
notWindows = !isWindows;
# OpenOCD needs JimTcl 0.82 and fails to build with the latest version (0.84).
# When updating OpenOCD, check which JimTcl version its jimtcl submodule uses.
jimtcl_0_82 = jimtcl.overrideAttrs (oldAttrs: rec {
version = "0.82";
src = oldAttrs.src.override {
rev = version;
sha256 = "sha256-CDjjrxpoTbLESAbCiCjQ8+E/oJP87gDv9SedQOzH3QY=";
};
});
in
stdenv.mkDerivation (finalAttrs: {
pname = "openocd";
@@ -40,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optionals notWindows [
hidapi
jimtcl
jimtcl_0_82
libftdi1
libjaylink
]