python3Packages.qstylizer: init at 0.2.1

Dependency of spyder.
This commit is contained in:
Drew Risinger
2022-05-05 15:07:47 -07:00
committed by Jonathan Ringer
parent 3f753238a8
commit 334143a57e
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, inflection
, pbr
, tinycss2
, pytestCheckHook
, pytest-mock
}:
buildPythonPackage rec {
pname = "qstylizer";
version = "0.2.1";
src = fetchFromGitHub {
owner = "blambright";
repo = pname;
rev = version;
sha256 = "sha256-iEMxBpS9gOPubd9O8zpVmR5B7+UZJFkPuOtikO1a9v0=";
};
nativeBuildInputs = [
pbr
];
propagatedBuildInputs = [
inflection
tinycss2
];
checkInputs = [
pytestCheckHook
pytest-mock
];
preBuild = ''
export PBR_VERSION=${version}
'';
meta = with lib; {
description = "Qt stylesheet generation utility for PyQt/PySide ";
homepage = "https://github.com/blambright/qstylizer";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
}
+2
View File
@@ -8774,6 +8774,8 @@ in {
qscintilla = self.qscintilla-qt5;
qstylizer = callPackage ../development/python-modules/qstylizer { };
qt5reactor = callPackage ../development/python-modules/qt5reactor { };
qtawesome = callPackage ../development/python-modules/qtawesome { };