python3Packages.pyperclip: 1.8.2 -> 1.9.0

This commit is contained in:
Martin Weinelt
2024-06-24 12:18:10 +02:00
parent 88ba04a24d
commit cd564e910f
@@ -2,22 +2,24 @@
lib,
buildPythonPackage,
fetchPypi,
stdenv,
python,
setuptools,
}:
buildPythonPackage rec {
version = "1.8.2";
format = "setuptools";
version = "1.9.0";
pname = "pyperclip";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57";
hash = "sha256-t94BQt3IG/xcdQfuoZ2pILkiUrVIuWGGyvlKXiUn0xA=";
};
# No such file or directory: 'pbcopy'
doCheck = !stdenv.isDarwin;
build-system = [ setuptools ];
# https://github.com/asweigart/pyperclip/issues/263
doCheck = false;
checkPhase = ''
${python.interpreter} tests/test_pyperclip.py