1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "bumps";
10 version = "0.9.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-J8NeV9FCUC5dLkosBzVrovxiJJbeuj8Xc50NGEI9Bms=";
18 };
19
20 propagatedBuildInputs = [
21 six
22 ];
23
24 # Module has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "bumps"
29 ];
30
31 meta = with lib; {
32 description = "Data fitting with bayesian uncertainty analysis";
33 homepage = "https://bumps.readthedocs.io/";
34 changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
35 license = licenses.publicDomain;
36 maintainers = with maintainers; [ rprospero ];
37 };
38}