Unverified Commit bcb86e4c authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

splitcode: add update script; 0.30.0 -> 0.31.2 (#370167)

parents d43b3890 653c1f69
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
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
+10 −5
Original line number Diff line number Diff line
@@ -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"
    ];
  };
}