nixpkgs/pkgs/development/python-modules/bumps/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00

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