pythonPackages.fabio: init at 24.4.0
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
ninja,
|
||||
fetchPypi,
|
||||
meson,
|
||||
lib,
|
||||
cython,
|
||||
meson-python,
|
||||
numpy,
|
||||
lxml,
|
||||
h5py,
|
||||
hdf5plugin,
|
||||
pillow,
|
||||
tomli,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fabio";
|
||||
version = "2024.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-NPVxu4sZ7hIvrHrh1iRakraa5fj1cUnH259tTDByRNc=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "fabio" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
cython
|
||||
meson-python
|
||||
ninja
|
||||
];
|
||||
|
||||
# While building, it tries to run version.py, which has a #!/usr/bin/env python3 shebang
|
||||
postPatch = ''
|
||||
patchShebangs --build version.py
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
lxml
|
||||
h5py
|
||||
hdf5plugin
|
||||
pillow
|
||||
tomli
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/silx-kit/fabio/blob/main/doc/source/Changelog.rst";
|
||||
description = "I/O library for images produced by 2D X-ray detector";
|
||||
homepage = "https://github.com/silx-kit/fabio";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = [ lib.maintainers.pmiddend ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -4345,6 +4345,8 @@ self: super: with self; {
|
||||
|
||||
f90nml = callPackage ../development/python-modules/f90nml { };
|
||||
|
||||
fabio = callPackage ../development/python-modules/fabio { };
|
||||
|
||||
fabric = callPackage ../development/python-modules/fabric { };
|
||||
|
||||
faadelays = callPackage ../development/python-modules/faadelays { };
|
||||
|
||||
Reference in New Issue
Block a user