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