2018-08-10 21:45:38 +01:00
|
|
|
{ lib
|
|
|
|
, fetchurl
|
|
|
|
, buildPythonPackage
|
|
|
|
, pymatgen
|
|
|
|
, pytestrunner
|
|
|
|
, pytest
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymatgen-lammps";
|
|
|
|
version = "0.4.5";
|
|
|
|
disabled = (!isPy3k);
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
|
|
|
|
sha256 = "0shldl8is3195jmji7dr3zsh1bzxlahaqrmpr28niks7nnfj80fx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ pymatgen ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A LAMMPS wrapper using pymatgen";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.com/costrouc/pymatgen-lammps";
|
2018-08-10 21:45:38 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|