python310Packages.scikit-misc: init at 0.1.4
This commit is contained in:
parent
86631b4428
commit
aaaedf2c7e
45
pkgs/development/python-modules/scikit-misc/default.nix
Normal file
45
pkgs/development/python-modules/scikit-misc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user