From ea6000478565b04ff4b70c2f0b28eb66cace729b Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Wed, 18 Jan 2023 12:16:38 +0100 Subject: clickgen: fix build after update to 2.1.3 --- pkgs/development/python-modules/clickgen/default.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/python-modules/clickgen/default.nix b/pkgs/development/python-modules/clickgen/default.nix index 5b8d7728c84..f4983aea025 100644 --- a/pkgs/development/python-modules/clickgen/default.nix +++ b/pkgs/development/python-modules/clickgen/default.nix @@ -4,9 +4,8 @@ , pythonOlder , fetchFromGitHub , pillow -, libX11 -, libXcursor -, libpng +, toml +, numpy , python , pytestCheckHook }: @@ -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 ''; -- cgit 1.4.1