pythonPackages.worldengine: init at 0.19.0
This commit is contained in:
parent
311da64a0b
commit
a431dd265c
|
@ -28601,6 +28601,35 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
worldengine = buildPythonPackage rec {
|
||||
name = "worldengine-${version}";
|
||||
version = "0.19.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/w/worldengine/${name}.tar.gz";
|
||||
sha256 = "0wnpp0zm4idc4242a970yf1blf8y2f1ikwha0q781wfz1dg4z0i6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ noise numpy pyplatec protobuf3_2 purepng argparse h5py gdal ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace pypng>=0.0.18 purepng \
|
||||
--replace 'numpy>=1.9.2, <= 1.10.0.post2' 'numpy' \
|
||||
--replace 'argparse==1.2.1' 'argparse' \
|
||||
--replace 'protobuf==3.0.0a3' 'protobuf' \
|
||||
--replace 'noise==1.2.2' 'noise' \
|
||||
--replace 'PyPlatec==1.4.0' 'PyPlatec' \
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://world-engine.org;
|
||||
description = "World generator using simulation of plates, rain shadow, erosion, etc";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rardiol ];
|
||||
};
|
||||
};
|
||||
|
||||
carbon = buildPythonPackage rec {
|
||||
name = "carbon-${version}";
|
||||
version = graphiteVersion;
|
||||
|
|
Loading…
Reference in New Issue