2020-11-06 04:50:19 +00:00
|
|
|
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytestcov, pytestCheckHook }:
|
2018-03-22 17:44:27 +00:00
|
|
|
|
2020-06-08 08:37:17 +01:00
|
|
|
buildPythonPackage rec {
|
2018-03-22 17:44:27 +00:00
|
|
|
pname = "periodictable";
|
2020-11-05 09:38:35 +00:00
|
|
|
version = "1.5.3";
|
2018-03-22 17:44:27 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [numpy pyparsing];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-05 09:38:35 +00:00
|
|
|
sha256 = "1d09c359468e2de74b43fc3a7dcb0d3d71e0ff53adb85995215d8d7796451af6";
|
2018-03-22 17:44:27 +00:00
|
|
|
};
|
|
|
|
|
2020-11-06 04:50:19 +00:00
|
|
|
checkInputs = [ pytestcov pytestCheckHook ];
|
|
|
|
|
2018-03-22 17:44:27 +00:00
|
|
|
meta = {
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://www.reflectometry.org/danse/software.html";
|
2018-03-22 17:44:27 +00:00
|
|
|
description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments";
|
|
|
|
license = lib.licenses.publicDomain;
|
|
|
|
maintainers = with lib.maintainers; [ rprospero ];
|
|
|
|
};
|
|
|
|
}
|