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