Loading pkgs/development/libraries/science/chemistry/simple-dftd3/python.nix +11 −0 Original line number Diff line number Diff line { buildPythonPackage, python, simple-dftd3, cffi, numpy, Loading Loading @@ -44,4 +45,14 @@ buildPythonPackage { preCheck = '' find . -name "_libdftd3*" -exec cp {} ./dftd3/. \; ''; pythonImportsCheck = [ "dftd3" ]; doCheck = true; # Parameters need to be present in the python site packages directory, but they # are originally only present in the fortran package. This is a consequence of # building the python bindings separately from the fortran library. postInstall = '' ln -s ${simple-dftd3}/share/s-dftd3/parameters.toml $out/${python.sitePackages}/dftd3/. ''; } Loading
pkgs/development/libraries/science/chemistry/simple-dftd3/python.nix +11 −0 Original line number Diff line number Diff line { buildPythonPackage, python, simple-dftd3, cffi, numpy, Loading Loading @@ -44,4 +45,14 @@ buildPythonPackage { preCheck = '' find . -name "_libdftd3*" -exec cp {} ./dftd3/. \; ''; pythonImportsCheck = [ "dftd3" ]; doCheck = true; # Parameters need to be present in the python site packages directory, but they # are originally only present in the fortran package. This is a consequence of # building the python bindings separately from the fortran library. postInstall = '' ln -s ${simple-dftd3}/share/s-dftd3/parameters.toml $out/${python.sitePackages}/dftd3/. ''; }