biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyperclip / default.nix
blob2354927ec2d7a088e299f1bb3f577d8cfa1d3ea4
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   python,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   version = "1.9.0";
11   pname = "pyperclip";
12   pyproject = true;
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-t94BQt3IG/xcdQfuoZ2pILkiUrVIuWGGyvlKXiUn0xA=";
17   };
19   build-system = [ setuptools ];
21   # https://github.com/asweigart/pyperclip/issues/263
22   doCheck = false;
24   checkPhase = ''
25     ${python.interpreter} tests/test_pyperclip.py
26   '';
28   pythonImportsCheck = [ "pyperclip" ];
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   };