- disable on older Python release - remove coverage - update metamain
parent
f95356f44e
commit
c831039949
@ -1,22 +1,41 @@ |
|||||||
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytest-cov, pytestCheckHook }: |
{ lib |
||||||
|
, fetchPypi |
||||||
|
, buildPythonPackage |
||||||
|
, numpy |
||||||
|
, pyparsing |
||||||
|
, pytestCheckHook |
||||||
|
, pythonOlder |
||||||
|
}: |
||||||
|
|
||||||
buildPythonPackage rec { |
buildPythonPackage rec { |
||||||
pname = "periodictable"; |
pname = "periodictable"; |
||||||
version = "1.6.1"; |
version = "1.6.1"; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
propagatedBuildInputs = [numpy pyparsing]; |
disabled = pythonOlder "3.7"; |
||||||
|
|
||||||
src = fetchPypi { |
src = fetchPypi { |
||||||
inherit pname version; |
inherit pname version; |
||||||
sha256 = "sha256-fFAcn3PXex+yjLUehbKEKcLESpnOPRJ0iUVkxy1xJgM="; |
hash = "sha256-fFAcn3PXex+yjLUehbKEKcLESpnOPRJ0iUVkxy1xJgM="; |
||||||
}; |
}; |
||||||
|
|
||||||
checkInputs = [ pytest-cov pytestCheckHook ]; |
propagatedBuildInputs = [ |
||||||
|
numpy |
||||||
|
pyparsing |
||||||
|
]; |
||||||
|
|
||||||
meta = { |
checkInputs = [ |
||||||
homepage = "https://www.reflectometry.org/danse/software.html"; |
pytestCheckHook |
||||||
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 ]; |
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 ]; |
||||||
}; |
}; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue