python310Packages.scikit-misc: init at 0.1.4

This commit is contained in:
Jonas Heinrich 2022-07-17 11:23:22 +02:00 committed by Yt
parent 86631b4428
commit aaaedf2c7e
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, fetchPypi
, buildPythonPackage
, cython
, gfortran
, pytestCheckHook
, numpy }:
buildPythonPackage rec {
pname = "scikit-misc";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-93RqA0eBEGPh7PkSHflINXhQA5U8OLW6hPY/xQjCKRE=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov --cov-report=xml" ""
'';
nativeBuildInputs = [
gfortran
];
buildInputs = [
cython
numpy
];
# Tests fail because of infinite recursion error
doCheck = false;
pythonImportsCheck = [
"skmisc"
];
meta = with lib; {
description = "Miscellaneous tools for scientific computing";
homepage = "https://github.com/has2k1/scikit-misc";
license = licenses.bsd3;
maintainers = with maintainers; [ onny ];
};
}

View File

@ -9575,6 +9575,8 @@ in {
scikit-learn-extra = callPackage ../development/python-modules/scikit-learn-extra { };
scikit-misc = callPackage ../development/python-modules/scikit-misc { };
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
scikits-odes = callPackage ../development/python-modules/scikits-odes { };