nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 setuptools,
6 tkinter,
7}:
8
9buildPythonPackage rec {
10 pname = "pymsgbox";
11 version = "2.0.1";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "pymsgbox";
16 inherit version;
17 hash = "sha256-mNBVxJpRHcwQ+gjDBD5xAtRo9eSzqDxtPGHfcix9eY0=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ tkinter ];
23
24 # Finding tests fails
25 doCheck = false;
26 pythonImportsCheck = [ "pymsgbox" ];
27
28 meta = {
29 description = "Simple, cross-platform, pure Python module for JavaScript-like message boxes";
30 homepage = "https://github.com/asweigart/PyMsgBox";
31 license = lib.licenses.bsd3;
32 maintainers = with lib.maintainers; [ jluttine ];
33 };
34}