nixpkgs/pkgs/development/python-modules/pymsgbox/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
624 B
Nix

{ lib, fetchPypi, buildPythonPackage, tkinter }:
buildPythonPackage rec {
pname = "PyMsgBox";
version = "1.0.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-IZQifei/96PW2lQYSHBaFV3LsqBu4SDZ8oCh1/USY/8=";
};
propagatedBuildInputs = [ tkinter ];
# Finding tests fails
doCheck = false;
pythonImportsCheck = [ "pymsgbox" ];
meta = with lib; {
description = "A simple, cross-platform, pure Python module for JavaScript-like message boxes";
homepage = "https://github.com/asweigart/PyMsgBox";
license = licenses.bsd3;
maintainers = with maintainers; [ jluttine ];
};
}