14 buildPythonPackage rec {
17 format = "setuptools";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
25 sha256 = "sha256-01c8SVy+J004dq5KCUe62w7i/xUTxTfl/IpvUtGQgw0=";
28 buildInputs = [ libXcursor libX11 libpng ];
30 propagatedBuildInputs = [ pillow ];
32 checkInputs = [ pytestCheckHook ];
35 # Needs to build xcursorgen.so
42 install -m644 src/xcursorgen/xcursorgen.so $out/${python.sitePackages}/clickgen/xcursorgen.so
43 # Copying scripts directory needed by clickgen script at $out/bin/
44 cp -R src/clickgen/scripts $out/${python.sitePackages}/clickgen/scripts
47 pythonImportsCheck = [ "clickgen" ];
50 homepage = "https://github.com/ful1e5/clickgen";
51 description = "The hassle-free cursor building toolbox";
53 clickgen is API for building X11 and Windows Cursors from
54 .png files. clickgen is using anicursorgen and xcursorgen under the hood.
56 license = licenses.mit;
57 maintainers = with maintainers; [ AdsonCicilioti ];
59 # ld: unknown option: -zdefs
60 broken = stdenv.isDarwin;