nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 63 lines 1.2 kB view raw
1{ 2 lib, 3 bottleneck, 4 buildPythonPackage, 5 fetchPypi, 6 jellyfish, 7 joblib, 8 networkx, 9 numexpr, 10 numpy, 11 pandas, 12 pyarrow, 13 pytest, 14 scikit-learn, 15 scipy, 16 setuptools, 17 setuptools-scm, 18 wheel, 19}: 20 21buildPythonPackage rec { 22 pname = "recordlinkage"; 23 version = "0.16"; 24 pyproject = true; 25 26 src = fetchPypi { 27 inherit pname version; 28 hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ="; 29 }; 30 31 nativeBuildInputs = [ 32 setuptools 33 setuptools-scm 34 wheel 35 ]; 36 37 propagatedBuildInputs = [ 38 pyarrow 39 jellyfish 40 numpy 41 pandas 42 scipy 43 scikit-learn 44 joblib 45 networkx 46 bottleneck 47 numexpr 48 ]; 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 = [ pytest ]; 53 54 pythonImportsCheck = [ "recordlinkage" ]; 55 56 meta = { 57 description = "Library to link records in or between data sources"; 58 homepage = "https://recordlinkage.readthedocs.io/"; 59 changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${version}"; 60 license = lib.licenses.bsd3; 61 maintainers = with lib.maintainers; [ raitobezarius ]; 62 }; 63}