2022-01-03 16:56:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, tkinter
|
2022-01-07 04:07:37 +00:00
|
|
|
, 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";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "4.57.0";
|
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;
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-+Dcrv+esnthI74AFLK47sS2qI4sPvihuQlL54Zo32RM=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tkinter
|
|
|
|
];
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"PySimpleGUI"
|
|
|
|
];
|
|
|
|
|
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";
|
2022-01-07 04:07:37 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ lucasew ];
|
|
|
|
};
|
|
|
|
}
|