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