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