mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 01:15:51 +00:00
stm32cubemx: 6.12.1 -> 6.13.0 (#363379)
This commit is contained in:
commit
92365df4b4
@ -3,7 +3,7 @@
|
|||||||
, fetchzip
|
, fetchzip
|
||||||
, icoutils
|
, icoutils
|
||||||
, imagemagick
|
, imagemagick
|
||||||
, jdk17
|
, jdk21
|
||||||
, lib
|
, lib
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, stdenvNoCC
|
, stdenvNoCC
|
||||||
@ -13,11 +13,11 @@ let
|
|||||||
iconame = "STM32CubeMX";
|
iconame = "STM32CubeMX";
|
||||||
package = stdenvNoCC.mkDerivation rec {
|
package = stdenvNoCC.mkDerivation rec {
|
||||||
pname = "stm32cubemx";
|
pname = "stm32cubemx";
|
||||||
version = "6.12.1";
|
version = "6.13.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${builtins.replaceStrings ["."] [""] version}-lin.zip";
|
url = "https://sw-center.st.com/packs/resource/library/stm32cube_mx_v${builtins.replaceStrings ["."] [""] version}-lin.zip";
|
||||||
hash = "sha256-6VDvvKx68U47soBUWiaBuDu6enINLDhJd0he7sSCzeg=";
|
hash = "sha256-ypZVVPmAsApaccWl7ZtAECwphD2SUUiVNC2DYC5rYb4=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ let
|
|||||||
|
|
||||||
cat << EOF > $out/bin/${pname}
|
cat << EOF > $out/bin/${pname}
|
||||||
#!${stdenvNoCC.shell}
|
#!${stdenvNoCC.shell}
|
||||||
${jdk17}/bin/java -jar $out/opt/STM32CubeMX/STM32CubeMX "\$@"
|
${jdk21}/bin/java -jar $out/opt/STM32CubeMX/STM32CubeMX "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/${pname}
|
chmod +x $out/bin/${pname}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user