pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / periodictable / default.nix
blob31b5b0a4500fbdaab8e00ebb4df6fdd23d025d2f
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   numpy,
6   pyparsing,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "periodictable";
13   version = "1.7.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-Q9fbcjPWszli+D156lT0fDuSPT6DQDy8A/WPNTr0tSw=";
21   };
23   propagatedBuildInputs = [
24     numpy
25     pyparsing
26   ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   pythonImportsCheck = [ "periodictable" ];
32   meta = with lib; {
33     description = "Extensible periodic table of the elements";
34     homepage = "https://github.com/pkienzle/periodictable";
35     license = licenses.publicDomain;
36     maintainers = with maintainers; [ rprospero ];
37   };