2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
tkinter,
|
|
|
|
pythonOlder,
|
2022-01-03 16:56:52 +00:00
|
|
|
}:
|
2022-01-07 04:07:37 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
buildPythonPackage rec {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "pysimplegui";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "5.0.4";
|
2022-01-07 04:07:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-01-07 04:07:37 +00:00
|
|
|
pname = "PySimpleGUI";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-pThG6BBWxy98REUae91yBZDKK8Q1Zc1PHpoW7nhdmAw=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ tkinter ];
|
2022-01-03 16:56:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "PySimpleGUI" ];
|
2022-01-07 04:07:37 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
meta = with lib; {
|
2022-01-07 04:07:37 +00:00
|
|
|
description = "Python GUIs for Humans";
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://github.com/PySimpleGUI/PySimpleGUI";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.unfree;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ lucasew ];
|
2024-04-21 15:54:59 +00:00
|
|
|
broken = true; # update to v5 broke the package, it now needs rsa and is trying to access an X11 socket?
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
}
|