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