depot/third_party/nixpkgs/pkgs/development/python-modules/periodictable/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
741 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
numpy,
pyparsing,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "periodictable";
version = "1.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Q9fbcjPWszli+D156lT0fDuSPT6DQDy8A/WPNTr0tSw=";
};
propagatedBuildInputs = [
numpy
pyparsing
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "periodictable" ];
meta = with lib; {
description = "Extensible periodic table of the elements";
homepage = "https://github.com/pkienzle/periodictable";
license = licenses.publicDomain;
maintainers = with maintainers; [ rprospero ];
};
}