Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / qtawesome / default.nix
blobb5e668c10a685d9a72e8c22b28ccb0d3591c22ca
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyqt5
5 , pytestCheckHook
6 , pythonOlder
7 , qtpy
8 }:
10 buildPythonPackage rec {
11   pname = "qtawesome";
12   version = "1.3.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "spyder-ide";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-dF77vkrEl671fQvsHAX+JY9OmLA29kgAVswY2b3UyTg=";
22   };
24   propagatedBuildInputs = [
25     pyqt5
26     qtpy
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   # Requires https://github.com/boylea/qtbot which is unmaintained
34   doCheck = false;
36   pythonImportsCheck = [
37     "qtawesome"
38   ];
40   meta = with lib; {
41     description = "Iconic fonts in PyQt and PySide applications";
42     mainProgram = "qta-browser";
43     homepage = "https://github.com/spyder-ide/qtawesome";
44     changelog = "https://github.com/spyder-ide/qtawesome/blob/v${version}/CHANGELOG.md";
45     license = licenses.mit;
46     maintainers = with maintainers; [ ];
47     platforms = platforms.linux; # fails on Darwin
48   };