Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 30 lines 702 B view raw
1{ lib 2, fetchurl 3, buildPythonPackage 4, pymatgen 5, pytestrunner 6, pytest 7, isPy3k 8}: 9 10buildPythonPackage rec { 11 pname = "pymatgen-lammps"; 12 version = "0.4.5"; 13 disabled = (!isPy3k); 14 15 src = fetchurl { 16 url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz"; 17 sha256 = "0shldl8is3195jmji7dr3zsh1bzxlahaqrmpr28niks7nnfj80fx"; 18 }; 19 20 buildInputs = [ pytestrunner ]; 21 checkInputs = [ pytest ]; 22 propagatedBuildInputs = [ pymatgen ]; 23 24 meta = { 25 description = "A LAMMPS wrapper using pymatgen"; 26 homepage = https://gitlab.com/costrouc/pymatgen-lammps; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ costrouc ]; 29 }; 30}