splitcode: add update script; 0.30.0 -> 0.31.2 (#370167)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
diff --git a/src/SplitCode.h b/src/SplitCode.h
|
||||
index 45c199c..fb05250 100644
|
||||
--- a/src/SplitCode.h
|
||||
+++ b/src/SplitCode.h
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <stack>
|
||||
#include <cmath>
|
||||
#include <iomanip>
|
||||
+#include <cstdint>
|
||||
|
||||
#if defined(_MSVC_LANG)
|
||||
#define SPLITCODE_CPP_VERSION _MSVC_LANG
|
||||
@@ -5,9 +5,10 @@
|
||||
cmake,
|
||||
libcxx,
|
||||
zlib,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "0.30.0";
|
||||
version = "0.31.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "splitcode";
|
||||
@@ -16,12 +17,10 @@ stdenv.mkDerivation {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pachterlab";
|
||||
repo = "splitcode";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-g38pJFP9uA2P5ktogAPXKgPtsEJn5vtnK5HClqqezmg=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fIx8EXdhkIkWmb86HKlUPSgsKvbGcrKsuNMWo8kU+Aw=";
|
||||
};
|
||||
|
||||
patches = [ ./add-stdint.patch ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
@@ -36,6 +35,8 @@ stdenv.mkDerivation {
|
||||
bash ./func_tests/runtests.sh
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Tool for flexible, efficient parsing, interpreting, and editing of technical sequences in sequencing reads";
|
||||
homepage = "https://github.com/pachterlab/splitcode";
|
||||
@@ -43,5 +44,9 @@ stdenv.mkDerivation {
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ zimward ];
|
||||
mainProgram = "splitcode";
|
||||
badPlatforms = [
|
||||
# Test hangs indefinitely. See https://github.com/pachterlab/splitcode/issues/31
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user