1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 tkinter,
6}:
7
8buildPythonPackage rec {
9 pname = "pymsgbox";
10 version = "1.0.9";
11
12 src = fetchPypi {
13 pname = "PyMsgBox";
14 inherit version;
15 hash = "sha256-IZQifei/96PW2lQYSHBaFV3LsqBu4SDZ8oCh1/USY/8=";
16 };
17
18 propagatedBuildInputs = [ tkinter ];
19
20 # Finding tests fails
21 doCheck = false;
22 pythonImportsCheck = [ "pymsgbox" ];
23
24 meta = with lib; {
25 description = "Simple, cross-platform, pure Python module for JavaScript-like message boxes";
26 homepage = "https://github.com/asweigart/PyMsgBox";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ jluttine ];
29 };
30}