qt-material: modernize, fix (#434692)

authored by pyrox.dev and committed by GitHub 6b1c5252 a04bd81e

+16 -10
+16 -10
pkgs/development/python-modules/qt-material/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 - fetchPypi, 5 jinja2, 6 }: 7 8 buildPythonPackage rec { 9 pname = "qt-material"; 10 version = "2.17"; 11 - format = "setuptools"; 12 13 - src = fetchPypi { 14 - inherit pname version; 15 - hash = "sha256-tQCgwfXvj0aozwN9GqW9+epOthgYC2MyU5373QZHrQ0="; 16 }; 17 18 - propagatedBuildInputs = [ jinja2 ]; 19 20 pythonImportsCheck = [ "qt_material" ]; 21 22 - meta = with lib; { 23 description = "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6"; 24 - homepage = "https://github.com/UN-GCPDS/qt-material"; 25 - license = licenses.bsd2; 26 - maintainers = with maintainers; [ _999eagle ]; 27 }; 28 }
··· 1 { 2 lib, 3 buildPythonPackage, 4 + fetchFromGitHub, 5 jinja2, 6 + setuptools, 7 }: 8 9 buildPythonPackage rec { 10 pname = "qt-material"; 11 version = "2.17"; 12 + pyproject = true; 13 14 + src = fetchFromGitHub { 15 + owner = "dunderlab"; 16 + repo = "qt-material"; 17 + tag = "v${version}"; 18 + hash = "sha256-ilrPA8SoVCo6FgwxWQ4sOjqURCFDQJLlTTkCZzTZQKI="; 19 }; 20 21 + build-system = [ setuptools ]; 22 + 23 + dependencies = [ jinja2 ]; 24 25 pythonImportsCheck = [ "qt_material" ]; 26 27 + meta = { 28 + changelog = "https://github.com/dunderlab/qt-material/releases/tag/${src.tag}"; 29 description = "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6"; 30 + homepage = "https://github.com/dunderlab/qt-material"; 31 + license = lib.licenses.bsd2; 32 + maintainers = with lib.maintainers; [ _999eagle ]; 33 }; 34 }