16 buildPythonPackage rec {
17 pname = "worldengine";
19 format = "setuptools";
21 src = fetchFromGitHub {
25 sha256 = "1xrckb0dn2841gvp32n18gib14bpi77hmjw3r9jiyhg402iip7ry";
28 src-data = fetchFromGitHub {
30 repo = "worldengine-data";
32 sha256 = "06xbf8gj3ljgr11v1n8jbs2q8pdf9wz53xdgkhpm8hdnjahgdxdm";
36 ln -s ${src-data} worldengine-data
39 propagatedBuildInputs = [
51 substituteInPlace setup.py \
52 --replace pypng>=0.0.18 purepng \
53 --replace 'numpy>=1.9.2, <= 1.10.0.post2' 'numpy' \
54 --replace 'argparse==1.2.1' "" \
55 --replace 'protobuf==3.0.0a3' 'protobuf' \
56 --replace 'noise==1.2.2' 'noise' \
57 --replace 'PyPlatec==1.4.0' 'PyPlatec' \
60 worldengine/{draw.py,hdf5_serialization.py} \
61 --replace numpy.float float
64 doCheck = !isPy27; # google namespace clash
65 nativeCheckInputs = [ pytestCheckHook ];
73 homepage = "https://github.com/mindwerks/worldengine";
74 description = "World generator using simulation of plates, rain shadow, erosion, etc";
75 license = licenses.mit;
76 maintainers = with maintainers; [ rardiol ];