Loading pkgs/development/python-modules/clickgen/default.nix +3 −14 Original line number Diff line number Diff line Loading @@ -4,9 +4,8 @@ , pythonOlder , fetchFromGitHub , pillow , libX11 , libXcursor , libpng , toml , numpy , python , pytestCheckHook }: Loading @@ -25,21 +24,11 @@ buildPythonPackage rec { sha256 = "sha256-qDaSfIeKCbyl3C2iKz9DYQc1oNwTe5xDlGg/yYhakSw="; }; buildInputs = [ libXcursor libX11 libpng ]; propagatedBuildInputs = [ pillow ]; propagatedBuildInputs = [ pillow toml numpy ]; checkInputs = [ pytestCheckHook ]; postBuild = '' # Needs to build xcursorgen.so cd src/xcursorgen make cd ../.. ''; postInstall = '' install -m644 src/xcursorgen/xcursorgen.so $out/${python.sitePackages}/clickgen/xcursorgen.so # Copying scripts directory needed by clickgen script at $out/bin/ cp -R src/clickgen/scripts $out/${python.sitePackages}/clickgen/scripts ''; Loading Loading
pkgs/development/python-modules/clickgen/default.nix +3 −14 Original line number Diff line number Diff line Loading @@ -4,9 +4,8 @@ , pythonOlder , fetchFromGitHub , pillow , libX11 , libXcursor , libpng , toml , numpy , python , pytestCheckHook }: Loading @@ -25,21 +24,11 @@ buildPythonPackage rec { sha256 = "sha256-qDaSfIeKCbyl3C2iKz9DYQc1oNwTe5xDlGg/yYhakSw="; }; buildInputs = [ libXcursor libX11 libpng ]; propagatedBuildInputs = [ pillow ]; propagatedBuildInputs = [ pillow toml numpy ]; checkInputs = [ pytestCheckHook ]; postBuild = '' # Needs to build xcursorgen.so cd src/xcursorgen make cd ../.. ''; postInstall = '' install -m644 src/xcursorgen/xcursorgen.so $out/${python.sitePackages}/clickgen/xcursorgen.so # Copying scripts directory needed by clickgen script at $out/bin/ cp -R src/clickgen/scripts $out/${python.sitePackages}/clickgen/scripts ''; Loading