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