1 { stdenv, lib, fetchFromGitea, qmake, qttools, qtbase, qtserialport
2 , qtconnectivity, qtcharts, wrapQtAppsHook, fetchpatch }:
4 stdenv.mkDerivation (finalAttrs: {
9 domain = "codeberg.org";
12 rev = finalAttrs.version;
13 hash = "sha256-BUUn1WyLT7nm4I+2SpO1ZtIf8isGDy8Za15SiO7sXL8=";
20 "https://codeberg.org/LazyT/ubpm/commit/f18841d6473cab9aa2a9d4c02392b8e103245ef6.diff";
21 hash = "sha256-lgXWu8PUUCt66btj6hVgOFXz3U1BJM3ataSo1MpHkfU=";
30 wrapQtApp $out/bin/ubpm
33 nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
35 # *.so plugins are being wrapped automatically which breaks them
36 dontWrapQtApps = true;
38 buildInputs = [ qtbase qtserialport qtconnectivity qtcharts ];
41 homepage = "https://codeberg.org/LazyT/ubpm";
42 description = "Universal Blood Pressure Manager";
44 license = licenses.gpl3Only;
45 maintainers = with maintainers; [ kurnevsky ];
46 broken = stdenv.hostPlatform.isDarwin;