mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
clickgen: fix build after update to 2.1.3
This commit is contained in:
parent
9d0588e8a5
commit
ea60004785
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user