[Backport release-25.05] python3Packages.qt-material: 2.14 -> 2.17, modernize, fix (#438750)

This commit is contained in:
Wolfgang Walther
2025-09-13 16:36:28 +00:00
committed by GitHub

View File

@@ -1,28 +1,34 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchFromGitHub,
jinja2, jinja2,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "qt-material"; pname = "qt-material";
version = "2.14"; version = "2.17";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "dunderlab";
hash = "sha256-tdu1relyF8964za7fAR8kL6zncfyBIpJjJFq1fL3riM="; repo = "qt-material";
tag = "v${version}";
hash = "sha256-ilrPA8SoVCo6FgwxWQ4sOjqURCFDQJLlTTkCZzTZQKI=";
}; };
propagatedBuildInputs = [ jinja2 ]; build-system = [ setuptools ];
dependencies = [ jinja2 ];
pythonImportsCheck = [ "qt_material" ]; pythonImportsCheck = [ "qt_material" ];
meta = with lib; { meta = {
changelog = "https://github.com/dunderlab/qt-material/releases/tag/${src.tag}";
description = "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6"; description = "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6";
homepage = "https://github.com/UN-GCPDS/qt-material"; homepage = "https://github.com/dunderlab/qt-material";
license = licenses.bsd2; license = lib.licenses.bsd2;
maintainers = with maintainers; [ _999eagle ]; maintainers = with lib.maintainers; [ _999eagle ];
}; };
} }