Skip to content

Commit 7eb7813

Browse files
splitcode: init at 0.30.0 (#345111)
2 parents fc48b39 + 42bc594 commit 7eb7813

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23800,6 +23800,13 @@
2380023800
githubId = 1108325;
2380123801
name = "Théo Zimmermann";
2380223802
};
23803+
zimward = {
23804+
name = "zimward";
23805+
github = "zimward";
23806+
githubId = 96021122;
23807+
matrix = "@memoryfragmentation:matrix.org";
23808+
keys = [ { fingerprint = "CBF7 FA5E F4B5 8B68 5977 3E3E 4CAC 61D6 A482 FCD9"; } ];
23809+
};
2380323810
zlepper = {
2380423811
name = "Rasmus Hansen";
2380523812
github = "zlepper";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/SplitCode.h b/src/SplitCode.h
2+
index 45c199c..fb05250 100644
3+
--- a/src/SplitCode.h
4+
+++ b/src/SplitCode.h
5+
@@ -18,6 +18,7 @@
6+
#include <stack>
7+
#include <cmath>
8+
#include <iomanip>
9+
+#include <cstdint>
10+
11+
#if defined(_MSVC_LANG)
12+
#define SPLITCODE_CPP_VERSION _MSVC_LANG
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
cmake,
6+
libcxx,
7+
zlib,
8+
}:
9+
let
10+
version = "0.30.0";
11+
in
12+
stdenv.mkDerivation {
13+
pname = "splitcode";
14+
inherit version;
15+
16+
src = fetchFromGitHub {
17+
owner = "pachterlab";
18+
repo = "splitcode";
19+
rev = "v${version}";
20+
hash = "sha256-g38pJFP9uA2P5ktogAPXKgPtsEJn5vtnK5HClqqezmg=";
21+
};
22+
23+
patches = [ ./add-stdint.patch ];
24+
25+
nativeBuildInputs = [ cmake ];
26+
27+
buildInputs = [
28+
libcxx
29+
zlib
30+
];
31+
32+
doCheck = true;
33+
checkPhase = ''
34+
mkdir func_tests
35+
cp $src/func_tests/* ./func_tests/
36+
bash ./func_tests/runtests.sh
37+
'';
38+
39+
meta = {
40+
description = "Tool for flexible, efficient parsing, interpreting, and editing of technical sequences in sequencing reads";
41+
homepage = "https://github.com/pachterlab/splitcode";
42+
license = lib.licenses.bsd2;
43+
platforms = lib.platforms.all;
44+
maintainers = with lib.maintainers; [ zimward ];
45+
mainProgram = "splitcode";
46+
};
47+
}

0 commit comments

Comments
 (0)