Files
nixpkgs/pkgs/development/python-modules/recordlinkage/default.nix
T
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

54 lines
1004 B
Nix

{ lib
, bottleneck
, buildPythonPackage
, fetchPypi
, jellyfish
, joblib
, networkx
, numexpr
, numpy
, pandas
, pyarrow
, pytest
, scikit-learn
, scipy
, pythonOlder
}:
buildPythonPackage rec {
pname = "recordlinkage";
version = "0.15";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-aIrx54vnf85I/Kit/4njg/VIOu6H0SE7NdQ1GbeP8Cc=";
};
propagatedBuildInputs = [
pyarrow
jellyfish
numpy
pandas
scipy
scikit-learn
joblib
networkx
bottleneck
numexpr
];
# pytestCheckHook does not work
# Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too.
nativeCheckInputs = [ pytest ];
pythonImportsCheck = [ "recordlinkage" ];
meta = with lib; {
description = "Library to link records in or between data sources";
homepage = "https://recordlinkage.readthedocs.io/";
license = licenses.bsd3;
maintainers = [ maintainers.raitobezarius ];
};
}