Merge pull request #253074 from fabaff/recordlinkage-fix

python311Packages.recordlinkage: add nativeBuildInputs

authored by

Fabian Affolter and committed by
GitHub
84f49c57 276e0e59

+17 -4
+17 -4
pkgs/development/python-modules/recordlinkage/default.nix
··· 10 , pandas 11 , pyarrow 12 , pytest 13 , scikit-learn 14 , scipy 15 - , pythonOlder 16 }: 17 18 buildPythonPackage rec { ··· 21 format = "pyproject"; 22 23 disabled = pythonOlder "3.8"; 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ="; 27 }; 28 29 propagatedBuildInputs = [ 30 pyarrow 31 jellyfish ··· 41 42 # pytestCheckHook does not work 43 # Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too. 44 - nativeCheckInputs = [ pytest ]; 45 46 - pythonImportsCheck = [ "recordlinkage" ]; 47 48 meta = with lib; { 49 description = "Library to link records in or between data sources"; 50 homepage = "https://recordlinkage.readthedocs.io/"; 51 license = licenses.bsd3; 52 - maintainers = [ maintainers.raitobezarius ]; 53 }; 54 }
··· 10 , pandas 11 , pyarrow 12 , pytest 13 + , pythonOlder 14 , scikit-learn 15 , scipy 16 + , setuptools 17 + , setuptools-scm 18 }: 19 20 buildPythonPackage rec { ··· 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.8"; 26 + 27 src = fetchPypi { 28 inherit pname version; 29 hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ="; 30 }; 31 32 + nativeBuildInputs = [ 33 + setuptools 34 + setuptools-scm 35 + ]; 36 + 37 propagatedBuildInputs = [ 38 pyarrow 39 jellyfish ··· 49 50 # pytestCheckHook does not work 51 # Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too. 52 + nativeCheckInputs = [ 53 + pytest 54 + ]; 55 56 + pythonImportsCheck = [ 57 + "recordlinkage" 58 + ]; 59 60 meta = with lib; { 61 description = "Library to link records in or between data sources"; 62 homepage = "https://recordlinkage.readthedocs.io/"; 63 + changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${version}"; 64 license = licenses.bsd3; 65 + maintainers = with maintainers; [ raitobezarius ]; 66 }; 67 }