15 buildPythonPackage rec {
16 pname = "lammps-cython";
21 url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
22 sha256 = "1wj9scmjdl00af13b5ihfccrjpikrdgkzd88ialam1nkxvxi42bl";
25 buildInputs = [ cython pytestrunner ];
26 propagatedBuildInputs = [ mpi4py pymatgen ase numpy ];
29 echo "Creating lammps.cfg file..."
30 cat << EOF > lammps.cfg
32 lammps_include_dir = ${lammps-mpi}/include
33 lammps_library_dir = ${lammps-mpi}/lib
34 lammps_library = lammps_mpi
37 mpi_include_dir = ${mpi}/include
38 mpi_library_dir = ${mpi}/lib
43 pythonImportsCheck = [ "lammps" ];
46 description = "Pythonic Wrapper to LAMMPS using cython";
47 homepage = "https://gitlab.com/costrouc/lammps-cython";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ costrouc ];