1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 tkinter,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pysimplegui";
11 version = "5.0.4";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 pname = "PySimpleGUI";
18 inherit version;
19 hash = "sha256-pThG6BBWxy98REUae91yBZDKK8Q1Zc1PHpoW7nhdmAw=";
20 };
21
22 propagatedBuildInputs = [ tkinter ];
23
24 pythonImportsCheck = [ "PySimpleGUI" ];
25
26 meta = with lib; {
27 description = "Python GUIs for Humans";
28 homepage = "https://github.com/PySimpleGUI/PySimpleGUI";
29 license = licenses.unfree;
30 maintainers = with maintainers; [ lucasew ];
31 broken = true; # update to v5 broke the package, it now needs rsa and is trying to access an X11 socket?
32 };
33}