5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
36 lines
754 B
Nix
36 lines
754 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, tkinter
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysimplegui";
|
|
version = "5.0.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "PySimpleGUI";
|
|
inherit version;
|
|
hash = "sha256-pThG6BBWxy98REUae91yBZDKK8Q1Zc1PHpoW7nhdmAw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
tkinter
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"PySimpleGUI"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python GUIs for Humans";
|
|
homepage = "https://github.com/PySimpleGUI/PySimpleGUI";
|
|
license = licenses.unfree;
|
|
maintainers = with maintainers; [ lucasew ];
|
|
broken = true; # update to v5 broke the package, it now needs rsa and is trying to access an X11 socket?
|
|
};
|
|
}
|