depot/third_party/nixpkgs/pkgs/development/python-modules/scikit-misc/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

45 lines
811 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, cython
, gfortran
, pytestCheckHook
, numpy }:
buildPythonPackage rec {
pname = "scikit-misc";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}