jlink: 700a → 756a
This commit is contained in:
parent
0f1ea25d57
commit
765d605cc4
10
externals/packages/jlink/default.nix
vendored
10
externals/packages/jlink/default.nix
vendored
|
@ -19,7 +19,7 @@
|
||||||
, libXrandr
|
, libXrandr
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
jlinkVersion = "700a";
|
jlinkVersion = "756a";
|
||||||
|
|
||||||
architecture = {
|
architecture = {
|
||||||
x86_64-linux = "x86_64";
|
x86_64-linux = "x86_64";
|
||||||
|
@ -29,10 +29,10 @@ let
|
||||||
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "0b9jyhd0lkd0icabpfgdcbmzdz4arw1wvjkzchbm4gpd4lvw5q0g";
|
x86_64-linux = "1bg038042byrfn575n3add9l83i1clbav7fzm7ga7svfd06k4lny";
|
||||||
i686-linux = "0dam6v4gxc0jbhw3ab73jw9v8m166wxy07blfb53gq8xpl71x0f9";
|
i686-linux = "0a1prsb91rhpy55qklmnh3r1ac6325yvk3gjwhy0dcl34fd0wjqf";
|
||||||
armv7l-linux = "1ihcs0pxd28ay7v5c5kc6v28n9wml1s6p94b8lcxyddjli3lpkly";
|
armv7l-linux = "1vvxsfizvdsgqv0f71nxqj5kmj9glx09z1jsrqq8h3ld95f92xmp";
|
||||||
aarch64-linux = "1pr1ziksixjrryhiycyl4qbr7fjnpgkj00iyphapxqcd0b64hsyr";
|
aarch64-linux = "0gw50jnd92g1p4391qiyvcwmn76akc3f1f5arkax6dqcwim443gg";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
url = "https://www.segger.com/downloads/jlink/JLink_Linux_V${jlinkVersion}_${architecture}.tgz";
|
url = "https://www.segger.com/downloads/jlink/JLink_Linux_V${jlinkVersion}_${architecture}.tgz";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
call = if (pkgs.targetPlatform.system == "x86_64-linux") then pkgs.pkgsi686Linux.callPackage else pkgs.callPackage;
|
jlink = pkgs.callPackage ../externals/packages/jlink { };
|
||||||
jlink = call ../externals/packages/jlink { };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.udev.packages = [
|
services.udev.packages = [
|
||||||
|
@ -9,6 +8,7 @@ in
|
||||||
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
||||||
pkgs.openocd
|
pkgs.openocd
|
||||||
pkgs.platformio
|
pkgs.platformio
|
||||||
|
pkgs.saleae-logic-2
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -18,6 +18,7 @@ in
|
||||||
stlink
|
stlink
|
||||||
jlink
|
jlink
|
||||||
platformio
|
platformio
|
||||||
|
saleae-logic-2
|
||||||
];
|
];
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
|
|
Loading…
Reference in a new issue