mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 21:16:37 +01:00
34 lines
706 B
Nix
34 lines
706 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
tkinter,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymsgbox";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "pymsgbox";
|
|
inherit version;
|
|
hash = "sha256-mNBVxJpRHcwQ+gjDBD5xAtRo9eSzqDxtPGHfcix9eY0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ tkinter ];
|
|
|
|
# Finding tests fails
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pymsgbox" ];
|
|
|
|
meta = {
|
|
description = "Simple, cross-platform, pure Python module for JavaScript-like message boxes";
|
|
homepage = "https://github.com/asweigart/PyMsgBox";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ jluttine ];
|
|
};
|
|
}
|