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