Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-11-16 09:01:53 +01:00
169 changed files with 2938 additions and 1614 deletions
@@ -1,18 +1,27 @@
{ stdenv, lib, fetchgit, libftdi1, libusb1, pkgconfig, hidapi, autoreconfHook }:
{ stdenv
, lib
, fetchgit
, autoreconfHook
, pkg-config
, hidapi
, libftdi1
, libusb1
}:
stdenv.mkDerivation rec {
pname = "openocd";
version = "2020-09-02";
version = "unstable-2020-11-11";
src = fetchgit {
url = "https://git.code.sf.net/p/openocd/code";
rev = "d46f28c2ea2611f5fbbc679a5eed253d3dcd2fe3";
sha256 = "1256qqhn3pxmijfk1x0y5b5kc5ar88ivykkvx0h1m7pdwqfs6zm9";
rev = "06c7a53f1fff20bcc4be9e63f83ae98664777f34";
sha256 = "0g0w7g94r88ylfpwswnhh8czlf5iqvd991ssn4gfcfd725lpdb01";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libftdi1 libusb1 hidapi ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ hidapi libftdi1 libusb1 ];
configureFlags = [
"--enable-jtag_vpi"
@@ -29,6 +38,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [
"-Wno-error=cpp"
"-Wno-error=strict-prototypes" # fixes build failure with hidapi 0.10.0
];
postInstall = lib.optionalString stdenv.isLinux ''
@@ -1,7 +1,7 @@
{ stdenv, requireFile, makeDesktopItem, libicns, imagemagick, jre, fetchzip }:
let
version = "5.6.1";
version = "6.0.1";
desktopItem = makeDesktopItem {
name = "stm32CubeMX";
exec = "stm32cubemx";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
src = fetchzip {
url = "https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${builtins.replaceStrings ["."] [""] version}.zip";
sha256 = "1y4a340wcjl88kjw1f1x85ffp4b5g1psryn9mgkd717w2bfpf29l";
sha256 = "15vxca1pgpgxgiz4wisrw0lylffdwnn4n46z9n0q37f8hmzlrk8f";
stripRoot= false;
};
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
microcontrollers and microprocessors, as well as the generation of the
corresponding initialization C code for the Arm® Cortex®-M core or a
partial Linux® Device Tree for Arm® Cortex®-A core), through a
step-by-step process.
step-by-step process.
'';
homepage = "https://www.st.com/en/development-tools/stm32cubemx.html";
license = licenses.unfree;