depot/third_party/nixpkgs/pkgs/development/python-modules/qstylizer/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

59 lines
973 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
pbr,
setuptools,
# dependencies
inflection,
tinycss2,
# checks
pytestCheckHook,
pytest-mock,
}:
buildPythonPackage rec {
pname = "qstylizer";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "blambright";
repo = "qstylizer";
rev = "refs/tags/${version}";
hash = "sha256-eZVBUGQxa2cr0O48iKWNTqM9E5ZAsiT1WfXjdYdxIdg=";
};
PBR_VERSION = version;
build-system = [
pbr
setuptools
];
dependencies = [
inflection
tinycss2
];
nativeCheckInputs = [
pytestCheckHook
pytest-mock
];
pythonImportsCheck = [ "qstylizer" ];
meta = {
description = "Qt stylesheet generation utility for PyQt/PySide";
homepage = "https://github.com/blambright/qstylizer";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drewrisinger ];
};
}