Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 762 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "samblaster"; 9 version = "0.1.26"; 10 11 src = fetchFromGitHub { 12 owner = "GregoryFaust"; 13 repo = "samblaster"; 14 rev = "v.${version}"; 15 sha256 = "0g24fq5hplnfgqkh3xqpg3lgx3wmxwnh9c7m6yw7pbi40lmgl1jv"; 16 }; 17 18 makeFlags = [ "CPP=${stdenv.cc.targetPrefix}c++" ]; 19 20 installPhase = '' 21 mkdir -p $out/bin 22 cp samblaster $out/bin 23 ''; 24 25 meta = with lib; { 26 description = "Tool for marking duplicates and extracting discordant/split reads from SAM/BAM files"; 27 mainProgram = "samblaster"; 28 maintainers = with maintainers; [ jbedo ]; 29 license = licenses.mit; 30 homepage = "https://github.com/GregoryFaust/samblaster"; 31 platforms = platforms.x86_64; 32 }; 33}