bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
35 lines
651 B
Nix
35 lines
651 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, tkinter
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysimplegui";
|
|
version = "4.59.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "PySimpleGUI";
|
|
inherit version;
|
|
sha256 = "sha256-GW6BwKQ36sSJNZXy7mlRW5hB5gjTUb08V33XqRNFT1E=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
tkinter
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"PySimpleGUI"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python GUIs for Humans";
|
|
homepage = "https://github.com/PySimpleGUI/PySimpleGUI";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ lucasew ];
|
|
};
|
|
}
|