Files
nixpkgs/pkgs/development/python-modules/bumps/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

73 lines
1.2 KiB
Nix

{
lib,
aiohttp,
blinker,
buildPythonPackage,
cloudpickle,
dill,
fetchPypi,
h5py,
matplotlib,
msgpack,
numpy,
plotly,
python-socketio,
python,
pythonOlder,
scipy,
setuptools,
versioningit,
}:
buildPythonPackage rec {
pname = "bumps";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-O5GUoyDlB0X2Z/O3JprN3omoOBDIhv0xrKfUSHTgGpM=";
};
pythonRemoveDeps = [
"mpld3" # not packaged
];
build-system = [
setuptools
versioningit
];
dependencies = [
aiohttp
blinker
cloudpickle
dill
h5py
matplotlib
msgpack
numpy
plotly
python
python-socketio
scipy
# mpld3 # not packaged
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "bumps" ];
meta = {
description = "Data fitting with bayesian uncertainty analysis";
mainProgram = "bumps";
homepage = "https://bumps.readthedocs.io/";
changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ rprospero ];
};
}