Merge pull request #253074 from fabaff/recordlinkage-fix
python311Packages.recordlinkage: add nativeBuildInputs
This commit is contained in:
commit
84f49c5795
1 changed files with 17 additions and 4 deletions
|
@ -10,9 +10,11 @@
|
|||
, pandas
|
||||
, pyarrow
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,11 +23,17 @@ buildPythonPackage rec {
|
|||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyarrow
|
||||
jellyfish
|
||||
|
@ -41,14 +49,19 @@ buildPythonPackage rec {
|
|||
|
||||
# pytestCheckHook does not work
|
||||
# Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too.
|
||||
nativeCheckInputs = [ pytest ];
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "recordlinkage" ];
|
||||
pythonImportsCheck = [
|
||||
"recordlinkage"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to link records in or between data sources";
|
||||
homepage = "https://recordlinkage.readthedocs.io/";
|
||||
changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.raitobezarius ];
|
||||
maintainers = with maintainers; [ raitobezarius ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue