Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 54 lines 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, pytest 6, pytest-pylint 7, nbconvert 8, jupyter_client 9, numpy 10, scipy 11, pandas 12, matplotlib 13, numba 14}: 15 16buildPythonPackage rec { 17 pname = "phik"; 18 version = "0.9.8"; 19 format = "wheel"; 20 disabled = !isPy3k; 21 22 src = fetchPypi { 23 inherit pname version format; 24 python = "py3"; 25 sha256 = "c398452c5c1eea153905666b289c6a153712cf3d58811fa41e2bbbd27a65d678"; 26 }; 27 28 checkInputs = [ 29 pytest 30 pytest-pylint 31 nbconvert 32 jupyter_client 33 ]; 34 35 propagatedBuildInputs = [ 36 numpy 37 scipy 38 pandas 39 matplotlib 40 numba 41 ]; 42 43 postInstall = '' 44 rm -r $out/bin 45 ''; 46 47 meta = with lib; { 48 description = "Phi_K correlation analyzer library"; 49 longDescription = "Phi_K is a new and practical correlation coefficient based on several refinements to Pearsons hypothesis test of independence of two variables."; 50 homepage = https://phik.readthedocs.io/en/latest/; 51 maintainers = with maintainers; [ melsigl ]; 52 license = licenses.asl20; 53 }; 54}