02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
35 lines
651 B
Nix
35 lines
651 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, tkinter
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysimplegui";
|
|
version = "4.60.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "PySimpleGUI";
|
|
inherit version;
|
|
sha256 = "sha256-dexGaU3JdcDka+jFendOA4QztTCVgh1nvjsiGso/1o0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|