python3Packages.pymatgen-lammps: mark broken

This commit is contained in:
Sandro Jäckel 2021-02-16 01:27:38 +01:00
parent 422350e2bd
commit 0b281e8303
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -3,14 +3,14 @@
, buildPythonPackage , buildPythonPackage
, pymatgen , pymatgen
, pytestrunner , pytestrunner
, pytest , pytestCheckHook
, isPy3k , isPy3k
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pymatgen-lammps"; pname = "pymatgen-lammps";
version = "0.4.5"; version = "0.4.5";
disabled = (!isPy3k); disabled = !isPy3k;
src = fetchurl { src = fetchurl {
url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz"; url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
@ -18,13 +18,17 @@ buildPythonPackage rec {
}; };
buildInputs = [ pytestrunner ]; buildInputs = [ pytestrunner ];
checkInputs = [ pytest ]; checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ pymatgen ]; propagatedBuildInputs = [ pymatgen ];
pythonImportsCheck = [ "pmg_lammps" ];
meta = { meta = {
description = "A LAMMPS wrapper using pymatgen"; description = "A LAMMPS wrapper using pymatgen";
homepage = "https://gitlab.com/costrouc/pymatgen-lammps"; homepage = "https://gitlab.com/costrouc/pymatgen-lammps";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ costrouc ]; maintainers = with lib.maintainers; [ costrouc ];
# not compatible with recent versions of pymatgen
broken = true;
}; };
} }