depot/third_party/nixpkgs/pkgs/development/python-modules/qtawesome/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

47 lines
904 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyqt5
, pytestCheckHook
, pythonOlder
, qtpy
}:
buildPythonPackage rec {
pname = "qtawesome";
version = "1.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "spyder-ide";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-KcYCXrTP8ED5j/VTLTw7a8zotDSqIu9ultmwp8Ip5nM=";
};
propagatedBuildInputs = [
pyqt5
qtpy
];
checkInputs = [
pytestCheckHook
];
# Requires https://github.com/boylea/qtbot which is unmaintained
doCheck = false;
pythonImportsCheck = [
"qtawesome"
];
meta = with lib; {
description = "Iconic fonts in PyQt and PySide applications";
homepage = "https://github.com/spyder-ide/qtawesome";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.linux; # fails on Darwin
};
}