Merge pull request #336081 from oberth-effect/add-python-nexusformat

python312Packages.nexusformat: init at 1.0.6
This commit is contained in:
OTABI Tomoya
2024-08-22 22:42:36 +09:00
committed by GitHub
3 changed files with 61 additions and 0 deletions
+6
View File
@@ -15213,6 +15213,12 @@
githubId = 61095988;
name = "Brian Shu";
};
oberth-effect = {
email = "stepan.venclik@gmail.com";
github = "oberth-effect";
githubId = 88210794;
name = "Štěpán Venclík";
};
obfusk = {
email = "flx@obfusk.net";
matrix = "@obfusk:matrix.org";
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
setuptools-scm,
# tests
pytestCheckHook,
# dependencies
h5py,
hdf5plugin,
numpy,
scipy,
}:
buildPythonPackage rec {
pname = "nexusformat";
version = "1.0.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-UxU3PA/2r/uamdysbfC0L2JinHgfkXhssHIo2hf3zlA=";
};
pyproject = true;
build-system = [
setuptools
setuptools-scm
];
dependencies = [
h5py
hdf5plugin
numpy
scipy
];
pythonImportsCheck = [ "nexusformat.nexus" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python API to open, create, and manipulate NeXus data written in the HDF5 format";
homepage = "https://github.com/nexpy/nexusformat";
changelog = "https://github.com/nexpy/nexusformat/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ oberth-effect ];
};
}
+2
View File
@@ -9138,6 +9138,8 @@ self: super: with self; {
nextdns = callPackage ../development/python-modules/nextdns { };
nexusformat = callPackage ../development/python-modules/nexusformat { };
nfcpy = callPackage ../development/python-modules/nfcpy { };
nftables = callPackage ../os-specific/linux/nftables/python.nix {