nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 scipy,
17 setuptools,
18 versioningit,
19}:
20
21buildPythonPackage rec {
22 pname = "bumps";
23 version = "1.0.3";
24 pyproject = true;
25
26 src = fetchPypi {
27 inherit pname version;
28 hash = "sha256-O5GUoyDlB0X2Z/O3JprN3omoOBDIhv0xrKfUSHTgGpM=";
29 };
30
31 pythonRemoveDeps = [
32 "mpld3" # not packaged
33 ];
34
35 build-system = [
36 setuptools
37 versioningit
38 ];
39
40 dependencies = [
41 aiohttp
42 blinker
43 cloudpickle
44 dill
45 h5py
46 matplotlib
47 msgpack
48 numpy
49 plotly
50 python
51 python-socketio
52 scipy
53 # mpld3 # not packaged
54 ];
55
56 # Module has no tests
57 doCheck = false;
58
59 pythonImportsCheck = [ "bumps" ];
60
61 meta = {
62 description = "Data fitting with bayesian uncertainty analysis";
63 mainProgram = "bumps";
64 homepage = "https://bumps.readthedocs.io/";
65 changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
66 license = lib.licenses.publicDomain;
67 maintainers = with lib.maintainers; [ rprospero ];
68 };
69}