- pypi as source failed to fetch, so use github fetcher - pypi links to https://github.com/dunderlab/qt-material as the package homepage - qt-material switched to a pyproject build - adjust dependencies/build-system to accomodate
35 lines
787 B
Nix
35 lines
787 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|