98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
37 lines
764 B
Nix
37 lines
764 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
setuptools-scm,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "uncertainties";
|
|
version = "3.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lmfit";
|
|
repo = "uncertainties";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-AaFazHeq7t4DnG2s9GvmAJ3ni62PWHR//mNPL+WyGSI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
numpy
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://pythonhosted.org/uncertainties/";
|
|
description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)";
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|