1{ lib, fetchPypi, buildPythonPackage, tkinter }:
2
3buildPythonPackage rec {
4 pname = "easygui";
5 version = "0.98.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "073f728ca88a77b74f404446fb8ec3004945427677c5618bd00f70c1b999fef2";
10 };
11
12 postPatch = ''
13 substituteInPlace setup.py --replace README.md README.txt
14 '';
15
16 propagatedBuildInputs = [
17 tkinter
18 ];
19
20 doCheck = false; # No tests available
21
22 pythonImportsCheck = [ "easygui" ];
23
24 meta = with lib; {
25 description = "Very simple, very easy GUI programming in Python";
26 homepage = "https://github.com/robertlugg/easygui";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ jfrankenau ];
29 };
30}