11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
19 owner = "spyoungtech";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-0nOkNgT8XCwtXI9JZntkhoMspKQU602rTKBFajVKBoM=";
26 substituteInPlace setup.py \
27 --replace docs/README.md README.md
32 ] ++ lib.optionals stdenv.isLinux [
39 ${lib.optionalString stdenv.isLinux "xvfb-run -s '-screen 0 800x600x24'"} pytest tests
44 broken = stdenv.isDarwin;
45 description = "Cross-platform clipboard utilities supporting both binary and text data";
46 homepage = "https://github.com/spyoungtech/pyclip";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ mcaju ];