My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/periodictable/default.nix

41 lines
738 B

{ 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 ];
};
}