depot/third_party/nixpkgs/pkgs/development/python-modules/bumps/default.nix

34 lines
722 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "bumps";
version = "0.9.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-PhoxjnkeLGL8vgEp7UubXKlS8p44TUkJ3c4SqRjKFJA=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "bumps" ];
meta = with lib; {
description = "Data fitting with bayesian uncertainty analysis";
mainProgram = "bumps";
homepage = "https://bumps.readthedocs.io/";
changelog = "https://github.com/bumps/bumps/releases/tag/v${version}";
license = licenses.publicDomain;
maintainers = with maintainers; [ rprospero ];
};
}