2021-03-23 19:22:30 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, tkinter }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "easygui";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "0.98.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "073f728ca88a77b74f404446fb8ec3004945427677c5618bd00f70c1b999fef2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py --replace README.md README.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tkinter
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false; # No tests available
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
pythonImportsCheck = [ "easygui" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Very simple, very easy GUI programming in Python";
|
|
|
|
homepage = "https://github.com/robertlugg/easygui";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
|
|
};
|
|
|
|
}
|