radian: 0.6.13 -> 0.6.15 (#453126)
This commit is contained in:
@@ -2,28 +2,24 @@
|
|||||||
lib,
|
lib,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
git,
|
gitMinimal,
|
||||||
R,
|
R,
|
||||||
rPackages,
|
rPackages,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "radian";
|
pname = "radian";
|
||||||
version = "0.6.13";
|
version = "0.6.15";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "randy3k";
|
owner = "randy3k";
|
||||||
repo = "radian";
|
repo = "radian";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-gz2VczAgVbvISzvY/v0GvZ/Erv6ipZwPU61r6OJ+3Fo=";
|
hash = "sha256-9dpLQ3QRppvwOw4THASfF8kCkIVZmWLALLRwy1LRPiE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace '"pytest-runner"' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
build-system = with python3Packages; [
|
build-system = with python3Packages; [
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
@@ -53,23 +49,25 @@ python3Packages.buildPythonApplication rec {
|
|||||||
ptyprocess
|
ptyprocess
|
||||||
jedi
|
jedi
|
||||||
])
|
])
|
||||||
++ [ git ];
|
++ [
|
||||||
|
gitMinimal
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
|
];
|
||||||
|
|
||||||
makeWrapperArgs = [ "--set R_HOME ${R}/lib/R" ];
|
makeWrapperArgs = [ "--set R_HOME ${R}/lib/R" ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMPDIR
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "radian" ];
|
pythonImportsCheck = [ "radian" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "21 century R console";
|
description = "21 century R console";
|
||||||
mainProgram = "radian";
|
mainProgram = "radian";
|
||||||
homepage = "https://github.com/randy3k/radian";
|
homepage = "https://github.com/randy3k/radian";
|
||||||
changelog = "https://github.com/randy3k/radian/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/randy3k/radian/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ savyajha ];
|
maintainers = with lib.maintainers; [ savyajha ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user