Files
ccpkgs/pkgs/smoove/default.nix
2019-11-08 10:03:51 -05:00

42 lines
1.2 KiB
Nix

# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn, makeWrapper
, gzip, gsort, htslib, lumpy, samtools, svtyper, mosdepth }:
buildGoPackage rec {
name = "smoove-${version}";
version = "0.2.4";
goPackagePath = "github.com/brentp/smoove";
src = fetchgit {
rev = "v${version}";
url = "https://github.com/brentp/smoove.git";
sha256 = "0jyycc3rjy406qkc17pfagy44bnkmgk348plqwqqpcawdpwpj57v";
};
postFixup = ''
declare -p
wrapProgram "$bin/bin/smoove" \
--suffix PATH : "${gzip}/bin" \
--suffix PATH : "${gsort}/bin" \
--suffix PATH : "${htslib}/bin" \
--suffix PATH : "${lumpy}/bin" \
--suffix PATH : "${samtools}/bin" \
--suffix PATH : "${svtyper}/bin" \
--suffix PATH : "${mosdepth}/bin"
'';
goDeps = ./deps.nix;
nativeBuildInputs = [
makeWrapper
];
meta = with stdenv.lib; {
homepage = https://github.com/brentp/smoove;
description = "Wrap existing software and adds some internal read-filtering to simplify calling and genotyping structural variants.";
platforms = platforms.all;
license = licenses.asl20;
};
}