forked from M-Labs/thermostat
Use qtextras
This commit is contained in:
parent
2fc0d265e4
commit
6f7b46bc2f
25
flake.nix
25
flake.nix
@ -85,6 +85,22 @@
|
|||||||
propagatedBuildInputs = with pkgs.python3Packages; [ numpy pyqt6 ];
|
propagatedBuildInputs = with pkgs.python3Packages; [ numpy pyqt6 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
qtextras = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
|
pname = "qtextras";
|
||||||
|
version = "0.6.8";
|
||||||
|
format = "pyproject";
|
||||||
|
src = pkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-d1ZotSlOI4surUy0H0N4xHoq94IRQvMHunwRH1uubFg=";
|
||||||
|
};
|
||||||
|
buildInputs = [ pkgs.python3Packages.hatchling ];
|
||||||
|
propagatedBuildInputs = with pkgs.python3Packages; [
|
||||||
|
numpy
|
||||||
|
pyqtgraph
|
||||||
|
ruamel-yaml
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
pglive = pkgs.python3Packages.buildPythonPackage rec {
|
pglive = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
pname = "pglive";
|
pname = "pglive";
|
||||||
version = "0.7.2";
|
version = "0.7.2";
|
||||||
@ -105,7 +121,13 @@
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgs.qt6.wrapQtAppsHook ];
|
nativeBuildInputs = [ pkgs.qt6.wrapQtAppsHook ];
|
||||||
propagatedBuildInputs = [ pkgs.qt6.qtbase ]
|
propagatedBuildInputs = [ pkgs.qt6.qtbase ]
|
||||||
++ (with pkgs.python3Packages; [ pyqtgraph pyqt6 qasync pglive ]);
|
++ (with pkgs.python3Packages; [
|
||||||
|
pyqtgraph
|
||||||
|
pyqt6
|
||||||
|
qasync
|
||||||
|
pglive
|
||||||
|
qtextras
|
||||||
|
]);
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
@ -135,6 +157,7 @@
|
|||||||
pyqt6
|
pyqt6
|
||||||
qasync
|
qasync
|
||||||
pglive
|
pglive
|
||||||
|
qtextras
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
defaultPackage.x86_64-linux = thermostat;
|
defaultPackage.x86_64-linux = thermostat;
|
||||||
|
Loading…
Reference in New Issue
Block a user