diff --git a/pkgs/by-name/ta/tauno-monitor/package.nix b/pkgs/by-name/ta/tauno-monitor/package.nix new file mode 100644 index 000000000000..28be4982bffa --- /dev/null +++ b/pkgs/by-name/ta/tauno-monitor/package.nix @@ -0,0 +1,57 @@ +{ + lib, + python3Packages, + fetchFromGitHub, + meson, + ninja, + pkg-config, + appstream, + desktop-file-utils, + gobject-introspection, + wrapGAppsHook4, + libadwaita, +}: +python3Packages.buildPythonApplication rec { + pname = "tauno-monitor"; + version = "0.1.27"; + pyproject = false; + + src = fetchFromGitHub { + owner = "taunoe"; + repo = "tauno-monitor"; + tag = "v${version}"; + hash = "sha256-QxapBgKKXuZxMIvZ8Z91cYhjE2/qxe9fC/eEaPpJWFg="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + appstream + desktop-file-utils + gobject-introspection + wrapGAppsHook4 + ]; + + buildInputs = [ + libadwaita + ]; + + dependencies = with python3Packages; [ + pygobject3 + pyserial + ]; + + dontWrapGApps = true; + + makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ]; + + meta = { + description = "Simple serial port monitor"; + homepage = "https://github.com/taunoe/tauno-monitor"; + changelog = "https://github.com/taunoe/tauno-monitor/releases/tag/${src.tag}"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ Cameo007 ]; + mainProgram = "tauno-monitor"; + }; +}