1{ 2 stdenv, 3 lib, 4 buildPythonPackage, 5 fetchPypi, 6 isPyPy, 7 rpy2-rinterface, 8 rpy2-robjects, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 version = "3.6.3"; 14 format = "pyproject"; 15 pname = "rpy2"; 16 17 disabled = isPyPy; 18 src = fetchPypi { 19 inherit version pname; 20 hash = "sha256-lCYYoSUhljAG0i6IqqTUgakjghwDoXQsmb7uci6w/Fo="; 21 }; 22 23 propagatedBuildInputs = [ 24 rpy2-rinterface 25 rpy2-robjects 26 ]; 27 28 pythonImportsCheck = [ 29 "rpy2" 30 ]; 31 32 meta = { 33 homepage = "https://rpy2.github.io/"; 34 description = "Python interface to R"; 35 license = lib.licenses.gpl2Plus; 36 platforms = lib.platforms.unix; 37 maintainers = with lib.maintainers; [ joelmo ]; 38 }; 39}