nixpkgs/pkgs/development/python-modules/rpy2/default.nix
2026-06-06 09:40:19 +00:00

39 lines
690 B
Nix

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
isPyPy,
rpy2-rinterface,
rpy2-robjects,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "3.6.7";
pyproject = true;
pname = "rpy2";
disabled = isPyPy;
src = fetchPypi {
inherit version pname;
hash = "sha256-8ftGSc59FOk1EzCI3sl82ifrN858xxA4X4HcpVb+jJ8=";
};
propagatedBuildInputs = [
rpy2-rinterface
rpy2-robjects
];
pythonImportsCheck = [
"rpy2"
];
meta = {
homepage = "https://rpy2.github.io/";
description = "Python interface to R";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ joelmo ];
};
}