Loading pkgs/development/python-modules/uncertainties/default.nix +15 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, future, setuptools-scm, fetchFromGitHub, pytestCheckHook, numpy, pynose, }: buildPythonPackage rec { pname = "uncertainties"; version = "3.1.7"; format = "setuptools"; version = "3.2.1"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-gBEeCDnyOcWyM8tHcgF7SDoLehVzpYG5Krd0ajXm+qs="; src = fetchFromGitHub { owner = "lmfit"; repo = "uncertainties"; rev = "refs/tags/${version}"; hash = "sha256-AaFazHeq7t4DnG2s9GvmAJ3ni62PWHR//mNPL+WyGSI="; }; propagatedBuildInputs = [ future ]; nativeBuildInputs = [ setuptools-scm ]; nativeCheckInputs = [ pynose pytestCheckHook numpy ]; checkPhase = '' nosetests -sve test_1to2 ''; meta = with lib; { homepage = "https://pythonhosted.org/uncertainties/"; description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)"; Loading Loading
pkgs/development/python-modules/uncertainties/default.nix +15 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, future, setuptools-scm, fetchFromGitHub, pytestCheckHook, numpy, pynose, }: buildPythonPackage rec { pname = "uncertainties"; version = "3.1.7"; format = "setuptools"; version = "3.2.1"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-gBEeCDnyOcWyM8tHcgF7SDoLehVzpYG5Krd0ajXm+qs="; src = fetchFromGitHub { owner = "lmfit"; repo = "uncertainties"; rev = "refs/tags/${version}"; hash = "sha256-AaFazHeq7t4DnG2s9GvmAJ3ni62PWHR//mNPL+WyGSI="; }; propagatedBuildInputs = [ future ]; nativeBuildInputs = [ setuptools-scm ]; nativeCheckInputs = [ pynose pytestCheckHook numpy ]; checkPhase = '' nosetests -sve test_1to2 ''; meta = with lib; { homepage = "https://pythonhosted.org/uncertainties/"; description = "Transparent calculations with uncertainties on the quantities involved (aka error propagation)"; Loading