19 buildPythonPackage rec {
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 hash = "sha256-cojKbDNqcUay5RxvWszQ96eC4jVI4G7iRv/ZYWgidCQ=";
34 substituteInPlace setup.py \
35 --replace '"pytest-runner"' ""
39 R # needed at setup time to detect R_HOME
42 propagatedBuildInputs = [
47 ] ++ (with rPackages; [
61 makeWrapperArgs = [ "--set R_HOME ${R}/lib/R" ];
65 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
68 pythonImportsCheck = [ "radian" ];
71 description = "A 21 century R console";
72 mainProgram = "radian";
73 homepage = "https://github.com/randy3k/radian";
74 changelog = "https://github.com/randy3k/radian/blob/v${version}/CHANGELOG.md";
75 license = licenses.mit;
76 maintainers = with maintainers; [ savyajha ];