16 buildPythonPackage rec {
17 pname = "pyqtdarktheme";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
25 repo = "PyQtDarkTheme";
27 hash = "sha256-jK+wnIyPE8Bav0pzbvVisYYCzdRshYw1S2t0H3Pro5M=";
31 ./add-missing-argument-to-the-proxy-style-initializer.patch
38 propagatedBuildInputs = [
49 pythonImportsCheck = [
54 sed -i 's#darkdetect = ".*"#darkdetect = "*"#' pyproject.toml
58 export HOME=$(mktemp -d)
59 export QT_PLUGIN_PATH="${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}"
60 export QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins";
61 export QT_QPA_PLATFORM=offscreen
65 description = "A flat dark theme for PySide and PyQt";
66 homepage = "https://pyqtdarktheme.readthedocs.io/en/stable";
67 license = licenses.mit;
68 maintainers = with maintainers; [ paveloom ];