nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 47 lines 814 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, inflection 6, pbr 7, tinycss2 8, pytestCheckHook 9, pytest-mock 10}: 11 12buildPythonPackage rec { 13 pname = "qstylizer"; 14 version = "0.2.1"; 15 16 src = fetchFromGitHub { 17 owner = "blambright"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-iEMxBpS9gOPubd9O8zpVmR5B7+UZJFkPuOtikO1a9v0="; 21 }; 22 23 nativeBuildInputs = [ 24 pbr 25 ]; 26 27 propagatedBuildInputs = [ 28 inflection 29 tinycss2 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 pytest-mock 35 ]; 36 37 preBuild = '' 38 export PBR_VERSION=${version} 39 ''; 40 41 meta = with lib; { 42 description = "Qt stylesheet generation utility for PyQt/PySide "; 43 homepage = "https://github.com/blambright/qstylizer"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ drewrisinger ]; 46 }; 47}