f28eddfd55
- update meta - disable on older Python releases
37 lines
668 B
Nix
37 lines
668 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bumps";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-BY9kg0ksKfrpQgsl1aDDJJ+zKJmURqwTtKxlITxse+o=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"bumps"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Data fitting with bayesian uncertainty analysis";
|
|
homepage = "https://bumps.readthedocs.io/";
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ rprospero ];
|
|
};
|
|
}
|