1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 version = "1.9.0"; 11 pname = "pyperclip"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-t94BQt3IG/xcdQfuoZ2pILkiUrVIuWGGyvlKXiUn0xA="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 # https://github.com/asweigart/pyperclip/issues/263 22 doCheck = false; 23 24 checkPhase = '' 25 ${python.interpreter} tests/test_pyperclip.py 26 ''; 27 28 pythonImportsCheck = [ "pyperclip" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/asweigart/pyperclip"; 32 license = licenses.bsd3; 33 description = "Cross-platform clipboard module"; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}