mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
39 lines
690 B
Nix
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 ];
|
|
};
|
|
}
|