aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-29 09:46:36 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2020-12-01 14:44:23 +0100
commit8867b954e6a76e7829f6e2b382a5d312b3f9db70 (patch)
tree456dbf0e261a328f7b185fa97381971704ae0f22
parent36ae4211a73b53c6638cb50ed5f140e1ebc5bc31 (diff)
python3Packages.atsim_potentials: attempt fix, mark broken
-rw-r--r--pkgs/development/python-modules/atsim_potentials/default.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/atsim_potentials/default.nix b/pkgs/development/python-modules/atsim_potentials/default.nix
index f2c2b54888f7..81dd5e9bc3c0 100644
--- a/pkgs/development/python-modules/atsim_potentials/default.nix
+++ b/pkgs/development/python-modules/atsim_potentials/default.nix
@@ -1,8 +1,12 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, configparser
+, pyparsing
, pytest
, future
+, openpyxl
+, wrapt
}:
buildPythonPackage rec {
@@ -15,7 +19,18 @@ buildPythonPackage rec {
};
checkInputs = [ pytest ];
- propagatedBuildInputs = [ future ];
+ propagatedBuildInputs = [
+ configparser
+ future
+ openpyxl
+ pyparsing
+ wrapt
+ ];
+
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "wrapt==1.11.2" "wrapt~=1.11"
+ '';
# tests are not included with release
doCheck = false;
@@ -29,5 +44,6 @@ buildPythonPackage rec {
description = "Provides tools for working with pair and embedded atom method potential models including tabulation routines for DL_POLY and LAMMPS";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
+ broken = true; # missing cexprtk package
};
}