summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/qt-material/default.nix
blob: 3f3bb9e0728429a5b653ad7d3f2cec28155f2a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  jinja2,
  setuptools,
}:

buildPythonPackage rec {
  pname = "qt-material";
  version = "2.17";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "dunderlab";
    repo = "qt-material";
    tag = "v${version}";
    hash = "sha256-ilrPA8SoVCo6FgwxWQ4sOjqURCFDQJLlTTkCZzTZQKI=";
  };

  build-system = [ setuptools ];

  dependencies = [ jinja2 ];

  pythonImportsCheck = [ "qt_material" ];

  meta = {
    changelog = "https://github.com/dunderlab/qt-material/releases/tag/${src.tag}";
    description = "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6";
    homepage = "https://github.com/dunderlab/qt-material";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ _999eagle ];
  };
}