python312Packages.nexusformat: init at 1.0.6
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -9122,6 +9122,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 {
|
||||
|
||||
Reference in New Issue
Block a user