1{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytestcov, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "periodictable";
5 version = "1.5.3";
6
7 propagatedBuildInputs = [numpy pyparsing];
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "1d09c359468e2de74b43fc3a7dcb0d3d71e0ff53adb85995215d8d7796451af6";
12 };
13
14 checkInputs = [ pytestcov pytestCheckHook ];
15
16 meta = {
17 homepage = "https://www.reflectometry.org/danse/software.html";
18 description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments";
19 license = lib.licenses.publicDomain;
20 maintainers = with lib.maintainers; [ rprospero ];
21 };
22}