summary refs log tree commit diff
path: root/pkgs/development/python-modules/atsim_potentials
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 /pkgs/development/python-modules/atsim_potentials
parent36ae4211a73b53c6638cb50ed5f140e1ebc5bc31 (diff)
downloadnixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar.gz
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar.bz2
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar.lz
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar.xz
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.tar.zst
nixpkgs-8867b954e6a76e7829f6e2b382a5d312b3f9db70.zip
python3Packages.atsim_potentials: attempt fix, mark broken
Diffstat (limited to 'pkgs/development/python-modules/atsim_potentials')
-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 f2c2b54888f..81dd5e9bc3c 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
   };
 }