41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
|
{ stdenv, lib, 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 = ''
|
|
wrapProgram "$out/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 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;
|
|
};
|
|
}
|