python3Packages.scippnexus: init at 26.1.1

This commit is contained in:
Doron Behar
2026-06-23 16:21:04 +03:00
parent ef2a7804a1
commit 06c60b8e0e
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,58 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# dependencies
h5py,
scipp,
scipy,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "scippnexus";
version = "26.1.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "scipp";
repo = "scippnexus";
tag = finalAttrs.version;
hash = "sha256-sff/LZFoNOcmoVeQkuHZNGPZS9RMV8QrXIlmJiFJCeI=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
h5py
scipp
scipy
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"scippnexus"
];
meta = {
description = "H5py-like utility for NeXus files with seamless scipp integration";
homepage = "https://scipp.github.io/scippnexus/";
changelog = "https://github.com/scipp/scippnexus/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ doronbehar ];
};
})
+2
View File
@@ -17782,6 +17782,8 @@ self: super: with self; {
scipp = callPackage ../development/python-modules/scipp { };
scippnexus = callPackage ../development/python-modules/scippnexus { };
scipy = callPackage ../development/python-modules/scipy { };
scipy-stubs = callPackage ../development/python-modules/scipy-stubs { };