nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "pyplatec";
9 version = "1.4.3";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-PXQlJtC4Z0ifphqTelOuBQS5wubxCH/f0PSWnE7OeNg=";
15 };
16
17 env.NIX_CFLAGS_COMPILE = "-std=c++11";
18
19 meta = {
20 description = "Library to simulate plate tectonics with Python bindings";
21 homepage = "https://github.com/Mindwerks/plate-tectonics";
22 license = lib.licenses.lgpl3;
23 };
24}