1{
2 lib,
3 stdenv,
4 buildPythonPackage,
5 fetchPypi,
6}:
7
8buildPythonPackage rec {
9 pname = "pyplatec";
10 version = "1.4.0";
11
12 src = fetchPypi {
13 pname = "PyPlatec";
14 inherit version;
15 sha256 = "0kqx33flcrrlipccmqs78d14pj5749bp85b6k5fgaq2c7yzz02jg";
16 };
17
18 env.NIX_CFLAGS_COMPILE = "-std=c++11";
19
20 meta = with lib; {
21 description = "Library to simulate plate tectonics with Python bindings";
22 homepage = "https://github.com/Mindwerks/plate-tectonics";
23 license = licenses.lgpl3;
24 };
25}