Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, attrs, pillow, toml, numpy, pyyaml, python, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "clickgen"; version = "2.2.5"; pyproject = true;
src = fetchFromGitHub { owner = "ful1e5"; repo = "clickgen"; tag = "v${finalAttrs.version}"; hash = "sha256-yFEkE1VyeHBuebpsumc6CTvv2kpAw7XAWlyUlXibqz0="; };
build-system = [ setuptools ];
dependencies = [ attrs numpy pillow pyyaml toml ];
nativeCheckInputs = [ pytestCheckHook ];
postInstall = '' # Copying scripts directory needed by clickgen script at $out/bin/ cp -R src/clickgen/scripts $out/${python.sitePackages}/clickgen/scripts '';
pythonImportsCheck = [ "clickgen" ];
meta = { homepage = "https://github.com/ful1e5/clickgen"; description = "Hassle-free cursor building toolbox"; longDescription = '' clickgen is API for building X11 and Windows Cursors from .png files. clickgen is using anicursorgen and xcursorgen under the hood. ''; license = lib.licenses.mit; maintainers = [ ]; # fails with: # ld: unknown option: -zdefs broken = stdenv.hostPlatform.isDarwin; };})