From e1edb55792c6c63836402249596becd4469190a0 Mon Sep 17 00:00:00 2001 From: Adam Washington Date: Fri, 9 Mar 2018 11:53:12 +0000 Subject: [PATCH] pythonPackages.periodictable: init at 1.5.0 This package is a required dependency of SasView, which will be added in a later commit. --- maintainers/maintainer-list.nix | 5 +++++ pkgs/top-level/python-packages.nix | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 134ec56788e..de7b638fe24 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3015,6 +3015,11 @@ github = "rongcuid"; name = "Rongcui Dong"; }; + rprospero = { + email = "rprospero+nix@gmail.com"; + github = "rprospero"; + name = "Adam Washington"; + }; rszibele = { email = "richard@szibele.com"; github = "rszibele"; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 76fbeb202dc..cc525cb1c9f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12276,6 +12276,26 @@ in { }; }; + periodictable = buildPythonPackage rec{ + name = "${pname}-${version}"; + pname = "periodictable"; + version = "1.5.0"; + + propagatedBuildInputs = with self; [numpy pyparsing]; + + src = fetchPypi { + inherit pname version; + sha256 = "1cjk6aqcz41nxm4fpriz01vqdafd6g57cjk0wh1iklk5cx6c085h"; + }; + + meta = { + homepage = http://www.reflectometry.org/danse/software.html; + description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments"; + license = licenses.publicDomain; + maintainers = with maintainers; [ rprospero ]; + }; + }; + pg8000 = buildPythonPackage rec { name = "pg8000-1.10.1";