···
pname = "scikit-survival";
repo = "scikit-survival";
-
hash = "sha256-El5q2eE6wJKg/8rcFZPZQl7MVxw1jMsggjiCJHj7il8=";
-
propagatedBuildInputs = [
···
pythonImportsCheck = [ "sksurv" ];
nativeCheckInputs = [ pytestCheckHook ];
-
ln -s ${lib.getInclude eigen}/include/eigen3/Eigen \
-
sksurv/linear_model/src/eigen
# Hack needed to make pytest + cython work
# https://github.com/NixOS/nixpkgs/pull/82410#issuecomment-827186298
-
export HOME=$(mktemp -d)
-
cp -r $TMP/$sourceRoot/tests $HOME
-
# very long tests, unnecessary for a leaf package
"test_ensemble_selection"
···
-
lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
-
# floating point mismatch on aarch64
-
# 27079905.88052468 to far from 27079905.880496684
description = "Survival analysis built on top of scikit-learn";
homepage = "https://github.com/sebp/scikit-survival";
-
license = licenses.gpl3Only;
-
maintainers = with maintainers; [ GuillaumeDesforges ];
···
pname = "scikit-survival";
repo = "scikit-survival";
+
hash = "sha256-OvdmZ2vDptYB2tq7OtokIQzjKzhQBWwnXZLW0m6FqlI=";
+
ln -s ${lib.getInclude eigen}/include/eigen3/Eigen \
+
sksurv/linear_model/src/eigen
···
pythonImportsCheck = [ "sksurv" ];
nativeCheckInputs = [ pytestCheckHook ];
# Hack needed to make pytest + cython work
# https://github.com/NixOS/nixpkgs/pull/82410#issuecomment-827186298
+
# very long tests, unnecessary for a leaf package
"test_ensemble_selection"
···
+
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
+
# floating point mismatch on aarch64
+
# 27079905.88052468 to far from 27079905.880496684
description = "Survival analysis built on top of scikit-learn";
homepage = "https://github.com/sebp/scikit-survival";
+
changelog = "https://github.com/sebp/scikit-survival/releases/tag/v${version}";
+
license = lib.licenses.gpl3Plus;
+
maintainers = with lib.maintainers; [ GuillaumeDesforges ];