{ stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { version = "0.1.24"; name = "samblaster-${version}"; src = fetchFromGitHub { inherit name; owner = "GregoryFaust"; repo = "samblaster"; rev = "v.${version}"; sha256 = "0iv2ddfw8363vb2x8gr3p8g88whb6mb9m0pf71i2cqsbv6jghap7"; }; installPhase = '' mkdir -p "$out/bin" cp samblaster "$out/bin" ''; buildInputs = [ ]; meta = with stdenv.lib; { description = "A fast and flexible program for marking duplicates in read-id grouped paired-end SAM files."; homepage = https://github.com/GregoryFaust/samblaster; platforms = platforms.all; license = licenses.mit; }; }