Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / qstylizer / default.nix
blobee49d37055d4c239347b63fcb6d6c43c2e96d207
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , inflection
5 , pbr
6 , pytest-mock
7 , pytestCheckHook
8 , pythonOlder
9 , tinycss2
12 buildPythonPackage rec {
13   pname = "qstylizer";
14   version = "0.2.2";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "blambright";
21     repo = pname;
22     rev = version;
23     hash = "sha256-QJ4xhaAoVO4/VncXKzI8Q5f/rPfctJ8CvfedkQVgZgQ=";
24   };
26   PBR_VERSION = version;
28   nativeBuildInputs = [
29     pbr
30   ];
32   propagatedBuildInputs = [
33     inflection
34     tinycss2
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39     pytest-mock
40   ];
42   pythonImportsCheck = [
43     "qstylizer"
44   ];
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   };