Skip to content

Commit

Permalink
Merge pull request #173693 from r-ryantm/auto-update/python3.10-perio…
Browse files Browse the repository at this point in the history
…dictable

python310Packages.periodictable: 1.6.0 -> 1.6.1
  • Loading branch information
fabaff authored May 20, 2022
2 parents 814537f + c831039 commit d428696
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions pkgs/development/python-modules/periodictable/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,41 @@
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytest-cov, pytestCheckHook }:
{ lib
, fetchPypi
, buildPythonPackage
, numpy
, pyparsing
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
pname = "periodictable";
version = "1.6.0";
version = "1.6.1";
format = "setuptools";

propagatedBuildInputs = [numpy pyparsing];
disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
sha256 = "52e925220005c20e97601e7b04ad6cebc271680947ab9adcbb1a796ddbaa0f23";
hash = "sha256-fFAcn3PXex+yjLUehbKEKcLESpnOPRJ0iUVkxy1xJgM=";
};

checkInputs = [ pytest-cov pytestCheckHook ];
propagatedBuildInputs = [
numpy
pyparsing
];

meta = {
homepage = "https://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 = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ rprospero ];
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 ];
};
}

0 comments on commit d428696

Please sign in to comment.