Unverified Commit 2d073454 authored by Michael Hoang's avatar Michael Hoang Committed by GitHub
Browse files

splitcode: 0.31.5 -> 0.31.6 (#468664)

parents f170ff2b 564270ed
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "splitcode";
  version = "0.31.5";
  version = "0.31.6";

  src = fetchFromGitHub {
    owner = "pachterlab";
    repo = "splitcode";
    tag = "v${finalAttrs.version}";
    hash = "sha256-x2N+IQHB6gbEKTEofsWy7SwVf1lvRxh5f93avtAs8fM=";
    hash = "sha256-80XrLr6gk398a/JVSpb8j0i2pMEDKn0EnTiSw7cWS2c=";
  };

  nativeBuildInputs = [ cmake ];
@@ -25,12 +25,6 @@ stdenv.mkDerivation (finalAttrs: {
    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
@@ -44,7 +38,8 @@ stdenv.mkDerivation (finalAttrs: {
    description = "Tool for flexible, efficient parsing, interpreting, and editing of technical sequences in sequencing reads";
    homepage = "https://github.com/pachterlab/splitcode";
    license = lib.licenses.bsd2;
    platforms = lib.platforms.all;
    # also compiles on macos, but since it seems to return invalid results.
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ zimward ];
    mainProgram = "splitcode";
    badPlatforms = [