1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook , qtbase}:
2
3stdenv.mkDerivation rec {
4 pname = "tytools";
5 version = "0.9.8";
6
7 src = fetchFromGitHub {
8 owner = "Koromix";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-MKhh0ooDZI1Ks8vVuPRiHhpOqStetGaAhE2ulvBstxA=";
12 };
13
14 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
15 buildInputs = [
16 qtbase
17 ];
18
19 meta = with lib; {
20 description = "Collection of tools to manage Teensy boards";
21 homepage = "https://koromix.dev/tytools";
22 license = licenses.unlicense;
23 platforms = platforms.unix;
24 maintainers = with maintainers; [ ahuzik ];
25 };
26}