anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / qstylizer / default.nix
blobab9c3032d047de435d88e956306533c7fd973bb4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
7   # build-system
8   pbr,
9   setuptools,
11   # dependencies
12   inflection,
13   tinycss2,
15   # checks
16   pytestCheckHook,
17   pytest-mock,
20 buildPythonPackage rec {
21   pname = "qstylizer";
22   version = "0.2.3";
23   pyproject = true;
25   disabled = pythonOlder "3.7";
27   src = fetchFromGitHub {
28     owner = "blambright";
29     repo = "qstylizer";
30     rev = "refs/tags/${version}";
31     hash = "sha256-eZVBUGQxa2cr0O48iKWNTqM9E5ZAsiT1WfXjdYdxIdg=";
32   };
34   PBR_VERSION = version;
36   build-system = [
37     pbr
38     setuptools
39   ];
41   dependencies = [
42     inflection
43     tinycss2
44   ];
46   nativeCheckInputs = [
47     pytestCheckHook
48     pytest-mock
49   ];
51   pythonImportsCheck = [ "qstylizer" ];
53   meta = {
54     description = "Qt stylesheet generation utility for PyQt/PySide";
55     homepage = "https://github.com/blambright/qstylizer";
56     license = lib.licenses.mit;
57     maintainers = with lib.maintainers; [ drewrisinger ];
58   };