tytools: 0.9.8 -> 0.9.9 (#439071)

This commit is contained in:
Sebastián Mancilla
2025-10-19 18:16:35 -03:00
committed by GitHub
2 changed files with 37 additions and 19 deletions
+36 -18
View File
@@ -2,37 +2,55 @@
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
wrapQtAppsHook,
qtbase,
installShellFiles,
qt6,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tytools";
version = "0.9.8";
version = "0.9.9";
src = fetchFromGitHub {
owner = "Koromix";
repo = "tytools";
rev = "v${version}";
sha256 = "sha256-MKhh0ooDZI1Ks8vVuPRiHhpOqStetGaAhE2ulvBstxA=";
repo = "rygel";
tag = "tytools/${finalAttrs.version}";
hash = "sha256-nQZaNYOTkx79UC0RHencKIQFSYUnQ9resdmmWTmgQxA=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
installShellFiles
qt6.wrapQtAppsHook
];
buildInputs = [
qtbase
qt6.qtbase
];
meta = with lib; {
buildPhase = ''
runHook preBuild
./bootstrap.sh
./felix -pFast tycmd tycommander tyuploader
runHook postBuild
'';
installPhase = ''
runHook preInstall
installBin bin/Fast/tycmd bin/Fast/tycommander bin/Fast/tyuploader
install -D --mode 0644 src/tytools/tycommander/tycommander_linux.desktop $out/share/applications/tycommander.desktop
install -D --mode 0644 src/tytools/tyuploader/tyuploader_linux.desktop $out/share/applications/tyuploader.desktop
install -D --mode 0644 src/tytools/assets/images/tycommander.png $out/share/icons/hicolor/512x512/apps/tycommander.png
install -D --mode 0644 src/tytools/assets/images/tyuploader.png $out/share/icons/hicolor/512x512/apps/tyuploader.png
runHook postInstall
'';
meta = {
description = "Collection of tools to manage Teensy boards";
homepage = "https://koromix.dev/tytools";
license = licenses.unlicense;
platforms = platforms.unix;
maintainers = with maintainers; [ ahuzik ];
license = lib.licenses.unlicense;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ahuzik ];
};
}
})
+1 -1
View File
@@ -6925,7 +6925,7 @@ with pkgs;
withTeensyduino = true;
};
tytools = libsForQt5.callPackage ../development/embedded/tytools { };
tytools = callPackage ../development/embedded/tytools { };
texinfoPackages = callPackages ../development/tools/misc/texinfo/packages.nix { };
inherit (texinfoPackages)