1{
2 lib,
3 aiohttp,
4 blinker,
5 buildPythonPackage,
6 cloudpickle,
7 dill,
8 fetchPypi,
9 h5py,
10 matplotlib,
11 msgpack,
12 numpy,
13 plotly,
14 python-socketio,
15 python,
16 pythonOlder,
17 scipy,
18 setuptools,
19 versioningit,
20}:
21
22buildPythonPackage rec {
23 pname = "bumps";
24 version = "1.0.3";
25 pyproject = true;
26
27 disabled = pythonOlder "3.8";
28
29 src = fetchPypi {
30 inherit pname version;
31 hash = "sha256-O5GUoyDlB0X2Z/O3JprN3omoOBDIhv0xrKfUSHTgGpM=";
32 };
33
34 pythonRemoveDeps = [
35 "mpld3" # not packaged
36 ];
37
38 build-system = [
39 setuptools
40 versioningit
41 ];
42
43 dependencies = [
44 aiohttp
45 blinker
46 cloudpickle
47 dill
48 h5py
49 matplotlib
50 msgpack
51 numpy
52 plotly
53 python
54 python-socketio
55 scipy
56 # mpld3 # not packaged
57 ];
58
59 # Module has no tests
60 doCheck = false;
61
62 pythonImportsCheck = [ "bumps" ];
63
64 meta = with lib; {
65 description = "Data fitting with bayesian uncertainty analysis";
66 mainProgram = "bumps";
67 homepage = "https://bumps.readthedocs.io/";
68 changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
69 license = licenses.publicDomain;
70 maintainers = with maintainers; [ rprospero ];
71 };
72}