3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/periodictable/default.nix
Fabian Affolter c831039949
python310Packages.periodictable: add pythonImportsCheck
- disable on older Python release
- remove coverage
- update meta
2022-05-20 10:37:16 +02:00

42 lines
738 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, numpy
, pyparsing
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "periodictable";
version = "1.6.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-fFAcn3PXex+yjLUehbKEKcLESpnOPRJ0iUVkxy1xJgM=";
};
propagatedBuildInputs = [
numpy
pyparsing
];
checkInputs = [
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 ];
};
}