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