1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, inflection 5, pbr 6, pytest-mock 7, pytestCheckHook 8, pythonOlder 9, tinycss2 10}: 11 12buildPythonPackage rec { 13 pname = "qstylizer"; 14 version = "0.2.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "blambright"; 21 repo = pname; 22 rev = version; 23 hash = "sha256-QJ4xhaAoVO4/VncXKzI8Q5f/rPfctJ8CvfedkQVgZgQ="; 24 }; 25 26 PBR_VERSION = version; 27 28 nativeBuildInputs = [ 29 pbr 30 ]; 31 32 propagatedBuildInputs = [ 33 inflection 34 tinycss2 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 pytest-mock 40 ]; 41 42 pythonImportsCheck = [ 43 "qstylizer" 44 ]; 45 46 meta = with lib; { 47 description = "Qt stylesheet generation utility for PyQt/PySide"; 48 homepage = "https://github.com/blambright/qstylizer"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ drewrisinger ]; 51 }; 52}