![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
35 lines
722 B
Nix
35 lines
722 B
Nix
{ 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 ];
|
|
};
|
|
}
|