1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "GregoryFaust";
11 sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv";
14 makeFlags = [ "CPP=${stdenv.cc.targetPrefix}c++" ];
18 cp samblaster $out/bin
22 description = "Tool for marking duplicates and extracting discordant/split reads from SAM/BAM files";
23 mainProgram = "samblaster";
24 maintainers = with maintainers; [ jbedo ];
25 license = licenses.mit;
26 homepage = "https://github.com/GregoryFaust/samblaster";
27 platforms = platforms.x86_64;