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