smoove: Initial packaging
This commit is contained in:
41
pkgs/smoove/default.nix
Normal file
41
pkgs/smoove/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user