mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
f28eddfd55
- update meta - disable on older Python releases
38 lines
668 B
Nix
38 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 ];
|
|
};
|
|
}
|