472aeafc57
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
47 lines
943 B
Nix
47 lines
943 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libcxx,
|
|
zlib,
|
|
}:
|
|
let
|
|
version = "0.30.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "splitcode";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pachterlab";
|
|
repo = "splitcode";
|
|
rev = "v${version}";
|
|
hash = "sha256-g38pJFP9uA2P5ktogAPXKgPtsEJn5vtnK5HClqqezmg=";
|
|
};
|
|
|
|
patches = [ ./add-stdint.patch ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
libcxx
|
|
zlib
|
|
];
|
|
|
|
doCheck = true;
|
|
checkPhase = ''
|
|
mkdir func_tests
|
|
cp $src/func_tests/* ./func_tests/
|
|
bash ./func_tests/runtests.sh
|
|
'';
|
|
|
|
meta = {
|
|
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;
|
|
maintainers = with lib.maintainers; [ zimward ];
|
|
mainProgram = "splitcode";
|
|
};
|
|
}
|