2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "pyplatec";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "PyPlatec";
|
|
|
|
inherit version;
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0kqx33flcrrlipccmqs78d14pj5749bp85b6k5fgaq2c7yzz02jg";
|
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-std=c++11";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library to simulate plate tectonics with Python bindings";
|
2024-06-05 15:53:02 +00:00
|
|
|
homepage = "https://github.com/Mindwerks/plate-tectonics";
|
|
|
|
license = licenses.lgpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|