3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.recordlinkage: init at 0.14

This commit is contained in:
Raito Bezarius 2022-04-03 22:18:55 +02:00
parent fb94afad50
commit 239d8f14ad
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{ lib
, bottleneck
, buildPythonPackage
, fetchPypi
, jellyfish
, joblib
, networkx
, numexpr
, numpy
, pandas
, pyarrow
, pytest
, scikit-learn
, scipy
, pythonOlder
}:
buildPythonPackage rec {
pname = "recordlinkage";
version = "0.14";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kuY2MUuwaLb228kwkJmOnnU+OolZcvGlhKTTiama+T4=";
};
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.
checkInputs = [ 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 ];
};
}

View file

@ -8837,6 +8837,8 @@ in {
recommonmark = callPackage ../development/python-modules/recommonmark { };
recordlinkage = callPackage ../development/python-modules/recordlinkage { };
redbaron = callPackage ../development/python-modules/redbaron { };
redis = callPackage ../development/python-modules/redis { };