Merge pull request #253074 from fabaff/recordlinkage-fix

python311Packages.recordlinkage: add nativeBuildInputs
This commit is contained in:
Fabian Affolter 2023-09-03 12:24:40 +02:00 committed by GitHub
commit 84f49c5795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}