1{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytest-cov, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "periodictable";
5 version = "1.6.0";
6
7 propagatedBuildInputs = [numpy pyparsing];
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "52e925220005c20e97601e7b04ad6cebc271680947ab9adcbb1a796ddbaa0f23";
12 };
13
14 checkInputs = [ pytest-cov 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}