nixpkgs/pkgs/development/python-modules/bumps/default.nix
Fabian Affolter f28eddfd55
python3Packages.bumps: add pythonImportsCheck
- update meta
- disable on older Python releases
2022-03-16 12:09:13 +01:00

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 ];
};
}