aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-06-16 22:31:23 +0200
committerAdrian Kummerlaender2019-06-16 22:31:23 +0200
commit1317bf171b0d06fb70425b20d29cd401d808dc10 (patch)
treee7f99734a24a42db0e8c80fbbe73b7f7e924e2c6
parentb4afecd0f9565bac8cf2e82651b9e2a0b4ba9a87 (diff)
downloadsymlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar.gz
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar.bz2
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar.lz
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar.xz
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.tar.zst
symlbm_playground-1317bf171b0d06fb70425b20d29cd401d808dc10.zip
Add PyEVTK to environment
-rw-r--r--shell.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
index de62cdf..118835b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -21,6 +21,24 @@ pkgs.stdenvNoCC.mkDerivation rec {
};
in pkgs.python3.override { inherit packageOverrides; };
+ pyevtk = pkgs.python3.pkgs.buildPythonPackage rec {
+ pname = "PyEVTK";
+ version = "1.2.1";
+
+ src = pkgs.fetchFromGitHub {
+ owner = "paulo-herrera";
+ repo = "PyEVTK";
+ rev = "v1.2.1";
+ sha256 = "1p2459dqvgakywvy5d31818hix4kic6ks9j4m582ypxyk5wj1ksz";
+ };
+
+ buildInputs = with pkgs.python37Packages; [
+ numpy
+ ];
+
+ doCheck = false;
+ };
+
local-python = custom-python.withPackages (python-packages: with python-packages; [
numpy
sympy
@@ -28,6 +46,7 @@ pkgs.stdenvNoCC.mkDerivation rec {
pyopengl
matplotlib
Mako
+ pyevtk
jupyterlab
]);