2021-09-22 10:32:19 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook , qtbase}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tytools";
|
2022-02-13 12:19:36 +01:00
|
|
|
version = "0.9.7";
|
2021-09-22 10:32:19 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Koromix";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-13 12:19:36 +01:00
|
|
|
sha256 = "sha256-iF2XyWSBBCO23iY/ni+QlpgtOuWKN2JTMTz+9OLEadk=";
|
2021-09-22 10:32:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Collection of tools to manage Teensy boards";
|
|
|
|
homepage = "https://koromix.dev/tytools";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ ahuzik ];
|
|
|
|
};
|
|
|
|
}
|