22 buildPythonPackage rec {
27 disabled = pythonOlder "3.9";
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-gz2VczAgVbvISzvY/v0GvZ/Erv6ipZwPU61r6OJ+3Fo=";
37 substituteInPlace setup.py \
38 --replace '"pytest-runner"' ""
47 R # needed at setup time to detect R_HOME
50 propagatedBuildInputs =
71 makeWrapperArgs = [ "--set R_HOME ${R}/lib/R" ];
75 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
78 pythonImportsCheck = [ "radian" ];
81 description = "21 century R console";
82 mainProgram = "radian";
83 homepage = "https://github.com/randy3k/radian";
84 changelog = "https://github.com/randy3k/radian/blob/v${version}/CHANGELOG.md";
85 license = licenses.mit;
86 maintainers = with maintainers; [ savyajha ];