splitcode: 0.31.3 -> 0.31.4

This commit is contained in:
zimward
2025-10-23 09:32:19 +02:00
parent 01f116e4df
commit 2f9f2dbc34

View File

@@ -7,18 +7,15 @@
zlib, zlib,
nix-update-script, nix-update-script,
}: }:
let stdenv.mkDerivation (finalAttrs: {
version = "0.31.3";
in
stdenv.mkDerivation {
pname = "splitcode"; pname = "splitcode";
inherit version; version = "0.31.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pachterlab"; owner = "pachterlab";
repo = "splitcode"; repo = "splitcode";
tag = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-EEYjBo52jPCSnv5WSGsXhfZEjsBCHdGerVPOZfShXBU="; hash = "sha256-jaZptrF5HSQSe2KQdBNPprhsVZ2FSudZFgWPn9zQq3A=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@@ -28,6 +25,12 @@ stdenv.mkDerivation {
zlib zlib
]; ];
postPatch = ''
# https://github.com/pachterlab/splitcode/pull/46
substituteInPlace CMakeLists.txt \
--replace-fail 2.8.12 3.10
'';
doCheck = true; doCheck = true;
checkPhase = '' checkPhase = ''
mkdir func_tests mkdir func_tests
@@ -49,4 +52,4 @@ stdenv.mkDerivation {
"aarch64-linux" "aarch64-linux"
]; ];
}; };
} })