silx: init at 2.1.1, fabio: init at 24.4.0 (#340000)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
lib,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "silx";
|
||||
version = "2.1.1";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-LfCRWkUrqQb7zxiFTPhy/g9FWhNMXTRbhEgek4tZb5I=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
h5py
|
||||
numpy
|
||||
matplotlib
|
||||
pyopengl
|
||||
python-dateutil
|
||||
pyside6
|
||||
fabio
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/silx-kit/silx/blob/main/CHANGELOG.rst";
|
||||
description = "Software to support data assessment, reduction and analysis at synchrotron radiation facilities";
|
||||
homepage = "https://github.com/silx-kit/silx";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = [ lib.maintainers.pmiddend ];
|
||||
mainProgram = "silx";
|
||||
};
|
||||
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -4360,6 +4360,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