2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bumps";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.9.3";
|
2022-03-30 09:31:56 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-MpUpj3/hsjkrsv+Ix6Cuadd6dpivWAqBVwBSygW6Uw8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "bumps" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Data fitting with bayesian uncertainty analysis";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "bumps";
|
2022-03-30 09:31:56 +00:00
|
|
|
homepage = "https://bumps.readthedocs.io/";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.publicDomain;
|
2022-03-30 09:31:56 +00:00
|
|
|
maintainers = with maintainers; [ rprospero ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|